1spv.shadingRate.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 21 5 6 Capability Shader 7 Capability FragmentDensityEXT 8 Extension "SPV_NV_shading_rate" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Fragment 4 "main" 9 13 17 19 12 ExecutionMode 4 OriginUpperLeft 13 Source GLSL 450 14 SourceExtension "GL_NV_shading_rate_image" 15 Name 4 "main" 16 Name 9 "FragmentSize" 17 Name 13 "gl_FragmentSizeNV" 18 Name 17 "InvocationsPerPixel" 19 Name 19 "gl_InvocationsPerPixelNV" 20 Decorate 9(FragmentSize) Location 0 21 Decorate 13(gl_FragmentSizeNV) Flat 22 Decorate 13(gl_FragmentSizeNV) BuiltIn FragSizeEXT 23 Decorate 17(InvocationsPerPixel) Location 2 24 Decorate 19(gl_InvocationsPerPixelNV) Flat 25 Decorate 19(gl_InvocationsPerPixelNV) BuiltIn FragInvocationCountEXT 26 2: TypeVoid 27 3: TypeFunction 2 28 6: TypeFloat 32 29 7: TypeVector 6(float) 2 30 8: TypePointer Output 7(fvec2) 31 9(FragmentSize): 8(ptr) Variable Output 32 10: TypeInt 32 1 33 11: TypeVector 10(int) 2 34 12: TypePointer Input 11(ivec2) 3513(gl_FragmentSizeNV): 12(ptr) Variable Input 36 16: TypePointer Output 10(int) 3717(InvocationsPerPixel): 16(ptr) Variable Output 38 18: TypePointer Input 10(int) 3919(gl_InvocationsPerPixelNV): 18(ptr) Variable Input 40 4(main): 2 Function None 3 41 5: Label 42 14: 11(ivec2) Load 13(gl_FragmentSizeNV) 43 15: 7(fvec2) ConvertSToF 14 44 Store 9(FragmentSize) 15 45 20: 10(int) Load 19(gl_InvocationsPerPixelNV) 46 Store 17(InvocationsPerPixel) 20 47 Return 48 FunctionEnd 49