Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / shared / VertexID.asm.vert
1 OpCapability Shader
2 %1 = OpExtInstImport "GLSL.std.450"
3 OpMemoryModel Logical GLSL450
4 OpEntryPoint Vertex %main "main" %sk_VertexID %id
5 OpName %sk_VertexID "sk_VertexID"
6 OpName %id "id"
7 OpName %main "main"
8 OpDecorate %sk_VertexID BuiltIn VertexIndex
9 OpDecorate %id Location 1
10 %int = OpTypeInt 32 1
11 %_ptr_Input_int = OpTypePointer Input %int
12 %sk_VertexID = OpVariable %_ptr_Input_int Input
13 %_ptr_Output_int = OpTypePointer Output %int
14 %id = OpVariable %_ptr_Output_int Output
15 %void = OpTypeVoid
16 %9 = OpTypeFunction %void
17 %main = OpFunction %void None %9
18 %10 = OpLabel
19 %11 = OpLoad %int %sk_VertexID
20 OpStore %id %11
21 OpReturn
22 OpFunctionEnd