spirv: Implement OpArrayLength for OpenGL
Uses same NIR intrinsic as glsl_to_nir. Make it an option so it is easy later to move Vulkan drivers incrementally to use it. Fixes piglit test spec/arb_gl_spirv/execution/ssbo/unsized-array-length. Closes: #3691 Fixes: 15e43907 ("iris: Enable ARB_gl_spirv and ARB_spirv_extensions") Reviewed-by:Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <!8136>
Showing
Please register or sign in to comment