blob: f7803c5a2558e42e5e0f177accce20eb332aa54c [file] [log] [blame]
; flags: --transform substitute_override
;
; Test: SpvModuleScopeVarParserTest_ScalarSpecConstant_DeclareConst_U32.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 7
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Fragment %1 "main"
OpExecutionMode %1 OriginUpperLeft
OpName %myconst "myconst"
OpDecorate %myconst SpecId 12
%uint = OpTypeInt 32 0
%myconst = OpSpecConstant %uint 42
%void = OpTypeVoid
%5 = OpTypeFunction %void
%1 = OpFunction %void None %5
%6 = OpLabel
OpReturn
OpFunctionEnd