test/diff/diff_files/spec_constant_specid_src.spvasm
raw| 1 | ;; Tests OpSpecConstantComposite matching. |
| 2 | OpCapability Shader |
| 3 | OpMemoryModel Logical GLSL450 |
| 4 | OpEntryPoint GLCompute %main "main" |
| 5 | OpExecutionMode %main LocalSize 1 1 1 |
| 6 | OpDecorate %sc SpecId 0 |
| 7 | %void = OpTypeVoid |
| 8 | %3 = OpTypeFunction %void |
| 9 | %uint = OpTypeInt 32 0 |
| 10 | %v3uint = OpTypeVector %uint 3 |
| 11 | %sc = OpSpecConstant %uint 10 |
| 12 | %main = OpFunction %void None %3 |
| 13 | %5 = OpLabel |
| 14 | OpReturn |
| 15 | OpFunctionEnd |