32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
bug/tint/1474-b.wgsl:7:5 warning: code is unreachable
|
|
let non_uniform_cond = non_uniform_value == 0;
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 9
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %main "main"
|
|
OpExecutionMode %main LocalSize 1 1 1
|
|
OpName %non_uniform_value_block "non_uniform_value_block"
|
|
OpMemberName %non_uniform_value_block 0 "inner"
|
|
OpName %non_uniform_value "non_uniform_value"
|
|
OpName %main "main"
|
|
OpDecorate %non_uniform_value_block Block
|
|
OpMemberDecorate %non_uniform_value_block 0 Offset 0
|
|
OpDecorate %non_uniform_value DescriptorSet 0
|
|
OpDecorate %non_uniform_value Binding 0
|
|
%int = OpTypeInt 32 1
|
|
%non_uniform_value_block = OpTypeStruct %int
|
|
%_ptr_StorageBuffer_non_uniform_value_block = OpTypePointer StorageBuffer %non_uniform_value_block
|
|
%non_uniform_value = OpVariable %_ptr_StorageBuffer_non_uniform_value_block StorageBuffer
|
|
%void = OpTypeVoid
|
|
%5 = OpTypeFunction %void
|
|
%main = OpFunction %void None %5
|
|
%8 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|