mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
86 lines
2.2 KiB
Plaintext
86 lines
2.2 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.1
|
|
; Generator: rspirv
|
|
; Bound: 67
|
|
OpCapability Shader
|
|
%1 = OpExtInstImport "GLSL.std.450"
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %16 "main"
|
|
OpExecutionMode %16 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
|
|
%17 = OpTypeFunction %2
|
|
%18 = OpConstant %4 0
|
|
%19 = OpConstantComposite %3 %18 %18
|
|
%20 = OpConstantComposite %5 %18 %18 %18
|
|
%21 = OpConstantComposite %6 %18 %18 %18 %18
|
|
%22 = OpConstant %8 0
|
|
%23 = OpConstantComposite %7 %22 %22
|
|
%24 = OpConstantComposite %9 %22 %22 %22
|
|
%25 = OpConstantComposite %10 %22 %22 %22 %22
|
|
%26 = OpConstant %12 0.0
|
|
%27 = OpConstantComposite %11 %26 %26
|
|
%28 = OpConstantComposite %13 %26 %26 %26
|
|
%29 = OpConstantComposite %14 %26 %26 %26 %26
|
|
%31 = OpTypePointer Function %3
|
|
%33 = OpTypePointer Function %5
|
|
%35 = OpTypePointer Function %6
|
|
%37 = OpTypePointer Function %7
|
|
%39 = OpTypePointer Function %9
|
|
%41 = OpTypePointer Function %10
|
|
%43 = OpTypePointer Function %11
|
|
%45 = OpTypePointer Function %13
|
|
%47 = OpTypePointer Function %14
|
|
%16 = OpFunction %2 None %17
|
|
%15 = OpLabel
|
|
%42 = OpVariable %43 Function %27
|
|
%36 = OpVariable %37 Function %23
|
|
%30 = OpVariable %31 Function %19
|
|
%44 = OpVariable %45 Function %28
|
|
%38 = OpVariable %39 Function %24
|
|
%32 = OpVariable %33 Function %20
|
|
%46 = OpVariable %47 Function %29
|
|
%40 = OpVariable %41 Function %25
|
|
%34 = OpVariable %35 Function %21
|
|
OpBranch %48
|
|
%48 = OpLabel
|
|
%49 = OpLoad %3 %30
|
|
%50 = OpBitcast %7 %49
|
|
OpStore %36 %50
|
|
%51 = OpLoad %5 %32
|
|
%52 = OpBitcast %9 %51
|
|
OpStore %38 %52
|
|
%53 = OpLoad %6 %34
|
|
%54 = OpBitcast %10 %53
|
|
OpStore %40 %54
|
|
%55 = OpLoad %7 %36
|
|
%56 = OpBitcast %3 %55
|
|
OpStore %30 %56
|
|
%57 = OpLoad %9 %38
|
|
%58 = OpBitcast %5 %57
|
|
OpStore %32 %58
|
|
%59 = OpLoad %10 %40
|
|
%60 = OpBitcast %6 %59
|
|
OpStore %34 %60
|
|
%61 = OpLoad %3 %30
|
|
%62 = OpBitcast %11 %61
|
|
OpStore %42 %62
|
|
%63 = OpLoad %5 %32
|
|
%64 = OpBitcast %13 %63
|
|
OpStore %44 %64
|
|
%65 = OpLoad %6 %34
|
|
%66 = OpBitcast %14 %65
|
|
OpStore %46 %66
|
|
OpReturn
|
|
OpFunctionEnd |