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