Files
wgpu/tests/out/spv/bitcast.spvasm
T

104 lines
2.6 KiB
Plaintext

; SPIR-V
; Version: 1.1
; Generator: rspirv
; Bound: 76
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %43 "main"
OpExecutionMode %43 LocalSize 1 1 1
%2 = OpTypeVoid
%4 = OpTypeInt 32 1
%3 = OpTypeVector %4 2
%5 = OpTypeVector %4 3
%6 = OpTypeVector %4 4
%8 = OpTypeInt 32 0
%7 = OpTypeVector %8 2
%9 = OpTypeVector %8 3
%10 = OpTypeVector %8 4
%12 = OpTypeFloat 32
%11 = OpTypeVector %12 2
%13 = OpTypeVector %12 3
%14 = OpTypeVector %12 4
%16 = OpTypePointer Function %3
%17 = OpConstantNull %3
%19 = OpTypePointer Function %5
%20 = OpConstantNull %5
%22 = OpTypePointer Function %6
%23 = OpConstantNull %6
%25 = OpTypePointer Function %7
%26 = OpConstantNull %7
%28 = OpTypePointer Function %9
%29 = OpConstantNull %9
%31 = OpTypePointer Function %10
%32 = OpConstantNull %10
%34 = OpTypePointer Function %11
%35 = OpConstantNull %11
%37 = OpTypePointer Function %13
%38 = OpConstantNull %13
%40 = OpTypePointer Function %14
%41 = OpConstantNull %14
%44 = OpTypeFunction %2
%45 = OpConstant %4 0
%46 = OpConstant %8 0
%47 = OpConstant %12 0.0
%43 = OpFunction %2 None %44
%42 = OpLabel
%33 = OpVariable %34 Function %35
%24 = OpVariable %25 Function %26
%15 = OpVariable %16 Function %17
%36 = OpVariable %37 Function %38
%27 = OpVariable %28 Function %29
%18 = OpVariable %19 Function %20
%39 = OpVariable %40 Function %41
%30 = OpVariable %31 Function %32
%21 = OpVariable %22 Function %23
OpBranch %48
%48 = OpLabel
%49 = OpCompositeConstruct %3 %45 %45
OpStore %15 %49
%50 = OpCompositeConstruct %5 %45 %45 %45
OpStore %18 %50
%51 = OpCompositeConstruct %6 %45 %45 %45 %45
OpStore %21 %51
%52 = OpCompositeConstruct %7 %46 %46
OpStore %24 %52
%53 = OpCompositeConstruct %9 %46 %46 %46
OpStore %27 %53
%54 = OpCompositeConstruct %10 %46 %46 %46 %46
OpStore %30 %54
%55 = OpCompositeConstruct %11 %47 %47
OpStore %33 %55
%56 = OpCompositeConstruct %13 %47 %47 %47
OpStore %36 %56
%57 = OpCompositeConstruct %14 %47 %47 %47 %47
OpStore %39 %57
%58 = OpLoad %3 %15
%59 = OpBitcast %7 %58
OpStore %24 %59
%60 = OpLoad %5 %18
%61 = OpBitcast %9 %60
OpStore %27 %61
%62 = OpLoad %6 %21
%63 = OpBitcast %10 %62
OpStore %30 %63
%64 = OpLoad %7 %24
%65 = OpBitcast %3 %64
OpStore %15 %65
%66 = OpLoad %9 %27
%67 = OpBitcast %5 %66
OpStore %18 %67
%68 = OpLoad %10 %30
%69 = OpBitcast %6 %68
OpStore %21 %69
%70 = OpLoad %3 %15
%71 = OpBitcast %11 %70
OpStore %33 %71
%72 = OpLoad %5 %18
%73 = OpBitcast %13 %72
OpStore %36 %73
%74 = OpLoad %6 %21
%75 = OpBitcast %14 %74
OpStore %39 %75
OpReturn
OpFunctionEnd