wgpu/naga/tests/out/spv/wgsl-multiview.spvasm
Inner Daemons ad0f3111b7
Add multiview limits and tests (#8206)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
Co-authored-by: Magnus <85136135+SupaMaggie70Incorporated@users.noreply.github.com>
2025-11-01 12:08:15 +00:00

25 lines
543 B
Plaintext

; SPIR-V
; Version: 1.1
; Generator: rspirv
; Bound: 11
OpCapability Shader
OpCapability MultiView
OpExtension "SPV_KHR_multiview"
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %8 "main" %5
OpExecutionMode %8 OriginUpperLeft
OpDecorate %5 BuiltIn ViewIndex
OpDecorate %5 Flat
%2 = OpTypeVoid
%3 = OpTypeInt 32 0
%6 = OpTypePointer Input %3
%5 = OpVariable %6 Input
%9 = OpTypeFunction %2
%8 = OpFunction %2 None %9
%4 = OpLabel
%7 = OpLoad %3 %5
OpBranch %10
%10 = OpLabel
OpReturn
OpFunctionEnd