mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
Add the index to the location when assigning driver locations for output variables. Otherwise two fragment shader outputs declared as: layout (location = 0, index = 0) out vec4 output1; layout (location = 0, index = 1) out vec4 output2; will end up aliasing one another. Note that this patch will make the second output variable in the above example alias a possible third output variable with location = 1 and index = 0. But this shouldn't be a problem in practice since only one color attachment is supported when dual-source blending is used. Cc: "13.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> |
||
|---|---|---|
| .. | ||
| ac_binary.c | ||
| ac_binary.h | ||
| ac_llvm_helper.cpp | ||
| ac_llvm_util.c | ||
| ac_llvm_util.h | ||
| ac_nir_to_llvm.c | ||
| ac_nir_to_llvm.h | ||
| amd_family.h | ||
| amd_kernel_code_t.h | ||
| amdgpu_id.h | ||
| r600d_common.h | ||
| sid.h | ||