blob: e723d72c8b4b0ad3fb8e1007bf13ced688bb7103 [file] [log] [blame]
; Test: SpvModuleScopeVarParserTest_SampleId_I32_Load_Direct.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 11
; Schema: 0
OpCapability Shader
OpCapability SampleRateShading
OpMemoryModel Logical Simple
OpEntryPoint Fragment %3 "main" %gl_SampleID
OpExecutionMode %3 OriginUpperLeft
OpDecorate %gl_SampleID BuiltIn SampleId
%void = OpTypeVoid
%5 = OpTypeFunction %void
%float = OpTypeFloat 32
%uint = OpTypeInt 32 0
%int = OpTypeInt 32 1
%_ptr_Input_int = OpTypePointer Input %int
%gl_SampleID = OpVariable %_ptr_Input_int Input
%3 = OpFunction %void None %5
%10 = OpLabel
%2 = OpLoad %int %gl_SampleID
OpReturn
OpFunctionEnd