mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
spv.shaderStencilExport.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 10
|
|
|
|
Capability Shader
|
|
Capability StencilExportEXT
|
|
Extension "SPV_EXT_shader_stencil_export"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 8
|
|
ExecutionMode 4 OriginUpperLeft
|
|
ExecutionMode 4 StencilRefReplacingEXT
|
|
Source GLSL 450
|
|
SourceExtension "GL_ARB_shader_stencil_export"
|
|
Name 4 "main"
|
|
Name 8 "gl_FragStencilRefARB"
|
|
Decorate 8(gl_FragStencilRefARB) BuiltIn FragStencilRefEXT
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 32 1
|
|
7: TypePointer Output 6(int)
|
|
8(gl_FragStencilRefARB): 7(ptr) Variable Output
|
|
9: 6(int) Constant 100
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
Store 8(gl_FragStencilRefARB) 9
|
|
Return
|
|
FunctionEnd
|