mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-16 17:02:32 +00:00
25 lines
543 B
Plaintext
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 1
|
|
%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 |