42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
bug/tint/294.wgsl:8:24 warning: use of deprecated language feature: declare access with var<storage, read> instead of using [[access]] decoration
|
|
[[set(0), binding(1)]] var<storage> lights : [[access(read)]] Lights;
|
|
^^^
|
|
|
|
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 12
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
|
|
OpExecutionMode %unused_entry_point LocalSize 1 1 1
|
|
OpName %Lights "Lights"
|
|
OpMemberName %Lights 0 "light"
|
|
OpName %Light "Light"
|
|
OpMemberName %Light 0 "position"
|
|
OpMemberName %Light 1 "colour"
|
|
OpName %lights "lights"
|
|
OpName %unused_entry_point "unused_entry_point"
|
|
OpDecorate %Lights Block
|
|
OpMemberDecorate %Lights 0 Offset 0
|
|
OpMemberDecorate %Light 0 Offset 0
|
|
OpMemberDecorate %Light 1 Offset 16
|
|
OpDecorate %_runtimearr_Light ArrayStride 32
|
|
OpDecorate %lights NonWritable
|
|
OpDecorate %lights DescriptorSet 0
|
|
OpDecorate %lights Binding 1
|
|
%float = OpTypeFloat 32
|
|
%v3float = OpTypeVector %float 3
|
|
%Light = OpTypeStruct %v3float %v3float
|
|
%_runtimearr_Light = OpTypeRuntimeArray %Light
|
|
%Lights = OpTypeStruct %_runtimearr_Light
|
|
%_ptr_StorageBuffer_Lights = OpTypePointer StorageBuffer %Lights
|
|
%lights = OpVariable %_ptr_StorageBuffer_Lights StorageBuffer
|
|
%void = OpTypeVoid
|
|
%8 = OpTypeFunction %void
|
|
%unused_entry_point = OpFunction %void None %8
|
|
%11 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|