22 lines
492 B
Plaintext
22 lines
492 B
Plaintext
|
; Test: SpvParserTest_EmitFunctions_Function_EntryPoint_Fragment.spvasm
|
||
|
; SPIR-V
|
||
|
; Version: 1.0
|
||
|
; Generator: Khronos SPIR-V Tools Assembler; 0
|
||
|
; Bound: 8
|
||
|
; Schema: 0
|
||
|
OpCapability Shader
|
||
|
OpMemoryModel Logical Simple
|
||
|
OpEntryPoint Fragment %main "main"
|
||
|
OpExecutionMode %main OriginUpperLeft
|
||
|
OpName %main "main"
|
||
|
%void = OpTypeVoid
|
||
|
%3 = OpTypeFunction %void
|
||
|
%float = OpTypeFloat 32
|
||
|
%uint = OpTypeInt 32 0
|
||
|
%int = OpTypeInt 32 1
|
||
|
%main = OpFunction %void None %3
|
||
|
%7 = OpLabel
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|
||
|
|