mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
24 lines
538 B
Plaintext
24 lines
538 B
Plaintext
; SPIR-V
|
|
; Version: 1.1
|
|
; Generator: rspirv
|
|
; Bound: 14
|
|
OpCapability Shader
|
|
%1 = OpExtInstImport "GLSL.std.450"
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %6 "main"
|
|
OpExecutionMode %6 LocalSize 1 1 1
|
|
%2 = OpTypeVoid
|
|
%4 = OpTypeFloat 32
|
|
%3 = OpTypeVector %4 3
|
|
%7 = OpTypeFunction %2
|
|
%8 = OpConstant %4 0.0
|
|
%9 = OpConstant %4 1.0
|
|
%10 = OpConstant %4 2.0
|
|
%11 = OpConstantComposite %3 %8 %9 %10
|
|
%6 = OpFunction %2 None %7
|
|
%5 = OpLabel
|
|
OpBranch %12
|
|
%12 = OpLabel
|
|
%13 = OpExtInst %3 %1 Cross %11 %11
|
|
OpReturn
|
|
OpFunctionEnd |