| 1 |
; SPIR-V |
| 2 |
; Version: 1.2 |
| 3 |
; Generator: Khronos; 0 |
| 4 |
; Bound: 51 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
OpMemoryModel Logical GLSL450 |
| 8 |
OpEntryPoint Fragment %EntryPoint_Main "main" |
| 9 |
OpExecutionMode %EntryPoint_Main OriginUpperLeft |
| 10 |
OpSource Unknown 100 |
| 11 |
OpName %mat3 "mat3" |
| 12 |
OpName %constituent "constituent" |
| 13 |
OpName %constituent_0 "constituent" |
| 14 |
OpName %constituent_1 "constituent" |
| 15 |
OpName %constituent_2 "constituent" |
| 16 |
OpName %constituent_3 "constituent" |
| 17 |
OpName %constituent_4 "constituent" |
| 18 |
OpName %constituent_5 "constituent" |
| 19 |
OpName %constituent_6 "constituent" |
| 20 |
OpName %EntryPoint_Main "EntryPoint_Main" |
| 21 |
%void = OpTypeVoid |
| 22 |
%_ptr_Function_void = OpTypePointer Function %void |
| 23 |
%float = OpTypeFloat 32 |
| 24 |
%int = OpTypeInt 32 1 |
| 25 |
%v3float = OpTypeVector %float 3 |
| 26 |
%mat3v3float = OpTypeMatrix %v3float 3 |
| 27 |
%_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float |
| 28 |
%14 = OpTypeFunction %void |
| 29 |
%int_0 = OpConstant %int 0 |
| 30 |
%int_1 = OpConstant %int 1 |
| 31 |
%EntryPoint_Main = OpFunction %void None %14 |
| 32 |
%45 = OpLabel |
| 33 |
%mat3 = OpVariable %_ptr_Function_mat3v3float Function |
| 34 |
%constituent = OpConvertSToF %float %int_0 |
| 35 |
%constituent_0 = OpCompositeConstruct %v3float %constituent %constituent %constituent |
| 36 |
%constituent_1 = OpCompositeConstruct %v3float %constituent %constituent %constituent |
| 37 |
%constituent_2 = OpCompositeConstruct %v3float %constituent %constituent %constituent |
| 38 |
%25 = OpCompositeConstruct %mat3v3float %constituent_0 %constituent_1 %constituent_2 |
| 39 |
OpStore %mat3 %25 |
| 40 |
%constituent_3 = OpConvertSToF %float %int_1 |
| 41 |
%constituent_4 = OpCompositeConstruct %v3float %constituent_3 %constituent_3 %constituent_3 |
| 42 |
%constituent_5 = OpCompositeConstruct %v3float %constituent_3 %constituent_3 %constituent_3 |
| 43 |
%constituent_6 = OpCompositeConstruct %v3float %constituent_3 %constituent_3 %constituent_3 |
| 44 |
%30 = OpCompositeConstruct %mat3v3float %constituent_4 %constituent_5 %constituent_6 |
| 45 |
OpStore %mat3 %30 |
| 46 |
OpReturn |
| 47 |
OpFunctionEnd |