You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write a Mesa-IR to SPIR-V Translator, and it's fine on NVIDIA and Adreno driver.
But It's crash on MALI driver, so I found the problem is I lost add gl_Position..
Hi
I write a Mesa-IR to SPIR-V Translator, and it's fine on NVIDIA and Adreno driver.
But It's crash on MALI driver, so I found the problem is I lost add gl_Position..
OpEntryPoint Vertex %6 "main" %13
I lost the %13.
It's crash on MALI Offline Shader Compiler also.
Thanks
; SPIR-V; Version: 1.0; Generator: X-LEGEND Mesa-IR/SPIR-V Translator; 0; Bound: 17; Schema: 0OpCapability Shader%1 = OpExtInstImport "GLSL.std.450"OpMemoryModel Logical GLSL450OpEntryPoint Vertex %6 "main" %13OpSource ESSL 310OpName %6 "main"OpName %10 "gl_PerVertex"OpMemberName %10 0 "gl_Position"OpDecorate %10 BlockOpMemberDecorate %10 0 BuiltIn Position%2 = OpTypeFloat 32%3 = OpTypeVector %2 4%4 = OpTypeVoid%5 = OpTypeFunction %4%8 = OpConstant %2 1%9 = OpConstantComposite %3 %8 %8 %8 %8%12 = OpTypePointer Output %3%14 = OpTypeInt 32 1%10 = OpTypeStruct %3%11 = OpTypePointer Output %10%13 = OpVariable %11 Output%15 = OpConstant %14 0%6 = OpFunction %4 None %5%7 = OpLabel%16 = OpAccessChain %12 %13 %15OpStore %16 %9OpReturnOpFunctionEnd