1617a3babSopenharmony_cispv.shadingRate.frag 2617a3babSopenharmony_ci// Module Version 10000 3617a3babSopenharmony_ci// Generated by (magic number): 8000b 4617a3babSopenharmony_ci// Id's are bound by 21 5617a3babSopenharmony_ci 6617a3babSopenharmony_ci Capability Shader 7617a3babSopenharmony_ci Capability FragmentDensityEXT 8617a3babSopenharmony_ci Extension "SPV_NV_shading_rate" 9617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 10617a3babSopenharmony_ci MemoryModel Logical GLSL450 11617a3babSopenharmony_ci EntryPoint Fragment 4 "main" 9 13 17 19 12617a3babSopenharmony_ci ExecutionMode 4 OriginUpperLeft 13617a3babSopenharmony_ci Source GLSL 450 14617a3babSopenharmony_ci SourceExtension "GL_NV_shading_rate_image" 15617a3babSopenharmony_ci Name 4 "main" 16617a3babSopenharmony_ci Name 9 "FragmentSize" 17617a3babSopenharmony_ci Name 13 "gl_FragmentSizeNV" 18617a3babSopenharmony_ci Name 17 "InvocationsPerPixel" 19617a3babSopenharmony_ci Name 19 "gl_InvocationsPerPixelNV" 20617a3babSopenharmony_ci Decorate 9(FragmentSize) Location 0 21617a3babSopenharmony_ci Decorate 13(gl_FragmentSizeNV) Flat 22617a3babSopenharmony_ci Decorate 13(gl_FragmentSizeNV) BuiltIn FragSizeEXT 23617a3babSopenharmony_ci Decorate 17(InvocationsPerPixel) Location 2 24617a3babSopenharmony_ci Decorate 19(gl_InvocationsPerPixelNV) Flat 25617a3babSopenharmony_ci Decorate 19(gl_InvocationsPerPixelNV) BuiltIn FragInvocationCountEXT 26617a3babSopenharmony_ci 2: TypeVoid 27617a3babSopenharmony_ci 3: TypeFunction 2 28617a3babSopenharmony_ci 6: TypeFloat 32 29617a3babSopenharmony_ci 7: TypeVector 6(float) 2 30617a3babSopenharmony_ci 8: TypePointer Output 7(fvec2) 31617a3babSopenharmony_ci 9(FragmentSize): 8(ptr) Variable Output 32617a3babSopenharmony_ci 10: TypeInt 32 1 33617a3babSopenharmony_ci 11: TypeVector 10(int) 2 34617a3babSopenharmony_ci 12: TypePointer Input 11(ivec2) 35617a3babSopenharmony_ci13(gl_FragmentSizeNV): 12(ptr) Variable Input 36617a3babSopenharmony_ci 16: TypePointer Output 10(int) 37617a3babSopenharmony_ci17(InvocationsPerPixel): 16(ptr) Variable Output 38617a3babSopenharmony_ci 18: TypePointer Input 10(int) 39617a3babSopenharmony_ci19(gl_InvocationsPerPixelNV): 18(ptr) Variable Input 40617a3babSopenharmony_ci 4(main): 2 Function None 3 41617a3babSopenharmony_ci 5: Label 42617a3babSopenharmony_ci 14: 11(ivec2) Load 13(gl_FragmentSizeNV) 43617a3babSopenharmony_ci 15: 7(fvec2) ConvertSToF 14 44617a3babSopenharmony_ci Store 9(FragmentSize) 15 45617a3babSopenharmony_ci 20: 10(int) Load 19(gl_InvocationsPerPixelNV) 46617a3babSopenharmony_ci Store 17(InvocationsPerPixel) 20 47617a3babSopenharmony_ci Return 48617a3babSopenharmony_ci FunctionEnd 49