dneto,
@dneto@mastodon.gamedev.place avatar

@ypujante
In the fragment shader pos.x and pos.y are framebuffer coordinates.

https://www.w3.org/TR/WGSL/#position-builtin-value

And follow the framebuffer link to the WebGPU spec to confirm.
https://gpuweb.github.io/gpuweb/#framebuffer

  • All
  • Subscribed
  • Moderated
  • Favorites
  • webgpu
  • kavyap
  • mdbf
  • khanakhh
  • tacticalgear
  • modclub
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Youngstown
  • osvaldo12
  • slotface
  • rosin
  • cubers
  • JUstTest
  • cisconetworking
  • anitta
  • tester
  • ngwrru68w68
  • everett
  • ethstaker
  • Durango
  • normalnudes
  • provamag3
  • Leos
  • GTA5RPClips
  • megavids
  • lostlight
  • All magazines