test/diff/diff_files/spec_constant_op_dst.spvasm
raw| 1 | OpCapability Shader |
| 2 | OpMemoryModel Logical GLSL450 |
| 3 | OpEntryPoint GLCompute %1 "main" |
| 4 | OpExecutionMode %1 LocalSize 1 1 1 |
| 5 | %2 = OpTypeVoid |
| 6 | %3 = OpTypeFunction %2 |
| 7 | %4 = OpTypeInt 32 0 |
| 8 | %5 = OpTypeVector %4 3 |
| 9 | %6 = OpConstant %4 1 |
| 10 | %7 = OpSpecConstantComposite %5 %6 %6 %6 |
| 11 | %8 = OpSpecConstantOp %4 CompositeExtract %7 2 |
| 12 | %9 = OpSpecConstantOp %4 CompositeExtract %7 3 |
| 13 | %10 = OpSpecConstantOp %4 IMul %8 %8 |
| 14 | %1 = OpFunction %2 None %3 |
| 15 | %11 = OpLabel |
| 16 | OpReturn |
| 17 | OpFunctionEnd |