zink: minor tweaks to shader io assignment
no functional changes Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28884>
This commit is contained in:
committed by
Marge Bot
parent
18f9f17be5
commit
613c7c1586
@@ -2656,8 +2656,8 @@ assign_producer_var_io(gl_shader_stage stage, nir_variable *var, unsigned *reser
|
||||
case VARYING_SLOT_TESS_LEVEL_OUTER:
|
||||
case VARYING_SLOT_TESS_LEVEL_INNER:
|
||||
/* use a sentinel value to avoid counting later */
|
||||
var->data.driver_location = UINT_MAX;
|
||||
break;
|
||||
var->data.driver_location = UINT32_MAX;
|
||||
return;
|
||||
|
||||
default:
|
||||
if (var->data.patch) {
|
||||
@@ -2707,7 +2707,7 @@ assign_consumer_var_io(gl_shader_stage stage, nir_variable *var, unsigned *reser
|
||||
case VARYING_SLOT_TESS_LEVEL_INNER:
|
||||
/* use a sentinel value to avoid counting later */
|
||||
var->data.driver_location = UINT_MAX;
|
||||
break;
|
||||
return true;
|
||||
default:
|
||||
if (var->data.patch) {
|
||||
assert(slot >= VARYING_SLOT_PATCH0);
|
||||
|
||||
Reference in New Issue
Block a user