mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-19 09:16:32 +00:00
46 lines
2.2 KiB
Plaintext
46 lines
2.2 KiB
Plaintext
glsl.entryPointRename.vert
|
|
ERROR: Source entry point must be "main"
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80003
|
|
// Id's are bound by 20
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Vertex 4 "foo" 13
|
|
Source GLSL 460
|
|
Name 4 "foo"
|
|
Name 11 "gl_PerVertex"
|
|
MemberName 11(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 11(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 11(gl_PerVertex) 2 "gl_ClipDistance"
|
|
MemberName 11(gl_PerVertex) 3 "gl_CullDistance"
|
|
Name 13 ""
|
|
MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
|
|
Decorate 11(gl_PerVertex) Block
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypeInt 32 0
|
|
9: 8(int) Constant 1
|
|
10: TypeArray 6(float) 9
|
|
11(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10
|
|
12: TypePointer Output 11(gl_PerVertex)
|
|
13: 12(ptr) Variable Output
|
|
14: TypeInt 32 1
|
|
15: 14(int) Constant 0
|
|
16: 6(float) Constant 1065353216
|
|
17: 7(fvec4) ConstantComposite 16 16 16 16
|
|
18: TypePointer Output 7(fvec4)
|
|
4(foo): 2 Function None 3
|
|
5: Label
|
|
19: 18(ptr) AccessChain 13 15
|
|
Store 19 17
|
|
Return
|
|
FunctionEnd
|