blob: 72f94c1a8d18bd457637380ceaaa85a2ebb1f09d [file] [log] [blame]
; Test: SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 101
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Fragment %100 "main"
OpExecutionMode %100 OriginUpperLeft
OpName %myvar "myvar"
OpName %strct "strct"
OpMemberDecorate %strct 0 RelaxedPrecision
%float = OpTypeFloat 32
%strct = OpTypeStruct %float
%_ptr_Function_strct = OpTypePointer Function %strct
%void = OpTypeVoid
%6 = OpTypeFunction %void
%100 = OpFunction %void None %6
%7 = OpLabel
%myvar = OpVariable %_ptr_Function_strct Function
OpReturn
OpFunctionEnd