mesa/src/compiler
Timothy Arceri 180398f785 nir: fix sorting before assigning varying driver locations
We need to make sure we also properly sort varyings sharing a single
slot otherwise we can end up assigning earlier components to the next
slot if we have already processed later components.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6392

Fixes: 1e93b0caa1 ("mesa/st: add support for NIR as possible driver IR")

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16208>
2022-05-03 00:04:30 +00:00
..
clc clc: Declare LLVMContexts on the stack 2022-04-14 21:19:56 +00:00
glsl glsl/nir: set new_style_shadow for sparse tex ops as necessary 2022-04-24 15:56:05 +00:00
isaspec util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
nir nir: fix sorting before assigning varying driver locations 2022-05-03 00:04:30 +00:00
spirv vtn: clamp SpvOpImageQuerySize dest to 32 bit 2022-04-29 00:01:20 +00:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
glsl_types.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
meson.build spirv: Use a single binary for gtests 2021-10-20 17:55:36 +00:00
nir_gl_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.cpp nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
shader_enums.c compiler: Extract num_mesh_vertices_per_primitive function. 2022-02-14 11:13:42 +01:00
shader_enums.h nir: Introduce workgroup_index and ability to lower workgroup_id to it. 2022-03-08 17:36:31 +00:00
shader_info.h spirv: Implement the function portion of the Linkage capability 2022-03-23 10:24:31 +00:00