spv.shadingRate.frag 264 B

1234567891011
  1. #version 450
  2. #extension GL_NV_shading_rate_image : require
  3. layout (location = 0) out vec2 FragmentSize;
  4. layout (location = 2) out int InvocationsPerPixel;
  5. void main () {
  6. FragmentSize = gl_FragmentSizeNV;
  7. InvocationsPerPixel = gl_InvocationsPerPixelNV;
  8. }