mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
nv50/ir: ignore CL system values
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19712>
This commit is contained in:
parent
bfee3a8563
commit
7cfb8cb1a5
1 changed files with 9 additions and 3 deletions
|
|
@ -1029,9 +1029,15 @@ bool Converter::assignSlots() {
|
|||
|
||||
uint8_t i;
|
||||
BITSET_FOREACH_SET(i, nir->info.system_values_read, SYSTEM_VALUE_MAX) {
|
||||
info_out->sv[info_out->numSysVals].sn = tgsi_get_sysval_semantic(i);
|
||||
info_out->sv[info_out->numSysVals].si = 0;
|
||||
info_out->sv[info_out->numSysVals].input = 0;
|
||||
switch (i) {
|
||||
case SYSTEM_VALUE_BASE_GLOBAL_INVOCATION_ID:
|
||||
continue;
|
||||
default:
|
||||
info_out->sv[info_out->numSysVals].sn = tgsi_get_sysval_semantic(i);
|
||||
info_out->sv[info_out->numSysVals].si = 0;
|
||||
info_out->sv[info_out->numSysVals].input = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
switch (i) {
|
||||
case SYSTEM_VALUE_VERTEX_ID:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue