37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
|
; SPIR-V
|
||
|
; Version: 1.3
|
||
|
; Generator: Google Tint Compiler; 0
|
||
|
; Bound: 18
|
||
|
; Schema: 0
|
||
|
OpCapability Shader
|
||
|
OpCapability Sampled1D
|
||
|
OpMemoryModel Logical GLSL450
|
||
|
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
|
||
|
OpExecutionMode %unused_entry_point LocalSize 1 1 1
|
||
|
OpName %arg_0 "arg_0"
|
||
|
OpName %unused_entry_point "unused_entry_point"
|
||
|
OpName %d "d"
|
||
|
OpDecorate %arg_0 DescriptorSet 0
|
||
|
OpDecorate %arg_0 Binding 0
|
||
|
%int = OpTypeInt 32 1
|
||
|
%3 = OpTypeImage %int 1D 0 0 0 1 Unknown
|
||
|
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
|
||
|
%arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant
|
||
|
%void = OpTypeVoid
|
||
|
%5 = OpTypeFunction %void
|
||
|
%v4int = OpTypeVector %int 4
|
||
|
%int_1 = OpConstant %int 1
|
||
|
%15 = OpConstantNull %int
|
||
|
%float = OpTypeFloat 32
|
||
|
%float_0_141120002 = OpConstant %float 0.141120002
|
||
|
%unused_entry_point = OpFunction %void None %5
|
||
|
%8 = OpLabel
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|
||
|
%d = OpFunction %void None %5
|
||
|
%10 = OpLabel
|
||
|
%13 = OpLoad %3 %arg_0
|
||
|
%11 = OpImageFetch %v4int %13 %int_1 Lod %15
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|