dawn-cmake/test/unittest/reader/spirv/Images_SpvParserHandleTest_...

33 lines
1.1 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 12
; Schema: 0
OpCapability Shader
OpCapability Image1D
OpCapability StorageImageExtendedFormats
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %x_10 "x_10"
OpName %main_1 "main_1"
OpName %main "main"
OpDecorate %x_10 NonWritable
OpDecorate %x_10 DescriptorSet 0
OpDecorate %x_10 Binding 0
%float = OpTypeFloat 32
%3 = OpTypeImage %float 1D 0 0 0 2 Rg32f
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%x_10 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid
%5 = OpTypeFunction %void
%main_1 = OpFunction %void None %5
%8 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %5
%10 = OpLabel
%11 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd