mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
radv: set the slot_index correctly for VARYING_SLOT_CLIP_DIST1
For selecting a different SQ_EXP_POS target. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
c4ab33378a
commit
f616d80a7a
1 changed files with 1 additions and 1 deletions
|
|
@ -3043,7 +3043,7 @@ handle_vs_outputs_post(struct radv_shader_context *ctx,
|
|||
continue;
|
||||
|
||||
outputs[noutput].slot_name = i;
|
||||
outputs[noutput].slot_index = 0;
|
||||
outputs[noutput].slot_index = i == VARYING_SLOT_CLIP_DIST1;
|
||||
|
||||
if (ctx->stage == MESA_SHADER_VERTEX &&
|
||||
!ctx->is_gs_copy_shader) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue