mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-21 04:20:05 +00:00
16 lines
549 B
Plaintext
16 lines
549 B
Plaintext
|
;; Tests OpSpecConstantComposite matching.
|
||
|
OpCapability Shader
|
||
|
OpMemoryModel Logical GLSL450
|
||
|
OpEntryPoint GLCompute %main "main"
|
||
|
OpExecutionMode %main LocalSize 1 1 1
|
||
|
OpDecorate %sc SpecId 0
|
||
|
%void = OpTypeVoid
|
||
|
%3 = OpTypeFunction %void
|
||
|
%uint = OpTypeInt 32 0
|
||
|
%v3uint = OpTypeVector %uint 3
|
||
|
%sc = OpSpecConstant %uint 10
|
||
|
%main = OpFunction %void None %3
|
||
|
%5 = OpLabel
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|