• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.intrinsicsSpirvInstruction.vert
2Validation failed
3// Module Version 10000
4// Generated by (magic number): 8000a
5// Id's are bound by 30
6
7                              Capability Shader
8                              Capability Int64
9                              Capability ShaderClockKHR
10                              Extension  "SPV_AMD_shader_trinary_minmax"
11                              Extension  "SPV_KHR_shader_clock"
12               1:             ExtInstImport  "GLSL.std.450"
13              28:             ExtInstImport  "SPV_AMD_shader_trinary_minmax"
14                              MemoryModel Logical GLSL450
15                              EntryPoint Vertex 4  "main" 9 13 18 21
16                              Source GLSL 450
17                              SourceExtension  "GL_ARB_gpu_shader_int64"
18                              SourceExtension  "GL_EXT_spirv_intrinsics"
19                              Name 4  "main"
20                              Name 9  "uvec2Out"
21                              Name 13  "i64Out"
22                              Name 18  "vec2Out"
23                              Name 21  "vec3In"
24                              Decorate 9(uvec2Out) Location 0
25                              Decorate 13(i64Out) Location 1
26                              Decorate 18(vec2Out) Location 2
27                              Decorate 21(vec3In) Location 0
28               2:             TypeVoid
29               3:             TypeFunction 2
30               6:             TypeInt 32 0
31               7:             TypeVector 6(int) 2
32               8:             TypePointer Output 7(ivec2)
33     9(uvec2Out):      8(ptr) Variable Output
34              11:             TypeInt 64 1
35              12:             TypePointer Output 11(int64_t)
36      13(i64Out):     12(ptr) Variable Output
37              15:             TypeFloat 32
38              16:             TypeVector 15(float) 2
39              17:             TypePointer Output 16(fvec2)
40     18(vec2Out):     17(ptr) Variable Output
41              19:             TypeVector 15(float) 3
42              20:             TypePointer Input 19(fvec3)
43      21(vec3In):     20(ptr) Variable Input
44         4(main):           2 Function None 3
45               5:             Label
46              10:    7(ivec2) ReadClockKHR
47                              Store 9(uvec2Out) 10
48              14: 11(int64_t) ReadClockKHR
49                              Store 13(i64Out) 14
50              22:   19(fvec3) Load 21(vec3In)
51              23:   16(fvec2) VectorShuffle 22 22 0 1
52              24:   19(fvec3) Load 21(vec3In)
53              25:   16(fvec2) VectorShuffle 24 24 1 2
54              26:   19(fvec3) Load 21(vec3In)
55              27:   16(fvec2) VectorShuffle 26 26 2 0
56              29:   16(fvec2) ExtInst 28(SPV_AMD_shader_trinary_minmax) 1(FMin3AMD) 23 25 27
57                              Store 18(vec2Out) 29
58                              Return
59                              FunctionEnd
60