dawn-cmake/test/tint/builtins/extractBits/scalar/u32.spvasm

28 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

OpCapability Shader
%12 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %f "f"
OpExecutionMode %f LocalSize 1 1 1
OpName %f "f"
OpName %v "v"
OpName %offset "offset"
OpName %count "count"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%_ptr_Function_uint = OpTypePointer Function %uint
%8 = OpConstantNull %uint
%uint_31 = OpConstant %uint 31
%uint_32 = OpConstant %uint 32
%f = OpFunction %void None %1
%4 = OpLabel
%v = OpVariable %_ptr_Function_uint Function %8
%offset = OpVariable %_ptr_Function_uint Function %8
%count = OpVariable %_ptr_Function_uint Function %8
%13 = OpLoad %uint %v
%14 = OpLoad %uint %offset
%15 = OpLoad %uint %count
%11 = OpBitFieldUExtract %uint %13 %14 %15
OpReturn
OpFunctionEnd