• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.intrinsicsSpirvExecutionMode.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 12
5
6                              Capability Shader
7                              Capability StencilExportEXT
8                              Extension  "SPV_EXT_shader_stencil_export"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 8 10
12                              ExecutionMode 4 OriginUpperLeft
13                              ExecutionMode 4 StencilRefReplacingEXT
14                              Source GLSL 450
15                              SourceExtension  "GL_EXT_spirv_intrinsics"
16                              Name 4  "main"
17                              Name 8  "gl_FragStencilRef"
18                              Name 10  "color"
19                              Decorate 8(gl_FragStencilRef) BuiltIn FragStencilRefEXT
20                              Decorate 10(color) Flat
21                              Decorate 10(color) Location 0
22               2:             TypeVoid
23               3:             TypeFunction 2
24               6:             TypeInt 32 1
25               7:             TypePointer Output 6(int)
268(gl_FragStencilRef):      7(ptr) Variable Output
27               9:             TypePointer Input 6(int)
28       10(color):      9(ptr) Variable Input
29         4(main):           2 Function None 3
30               5:             Label
31              11:      6(int) Load 10(color)
32                              Store 8(gl_FragStencilRef) 11
33                              Return
34                              FunctionEnd
35