mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
gallium/tgsi-to-nir: Take property NUM_CLIPDIST_ENABLED into account
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8919>
This commit is contained in:
parent
055175d484
commit
eefb18e5fb
1 changed files with 3 additions and 0 deletions
|
|
@ -2383,6 +2383,9 @@ ttn_compile_init(const void *tgsi_tokens,
|
|||
if (s->info.stage == MESA_SHADER_COMPUTE)
|
||||
s->info.cs.user_data_components_amd = value;
|
||||
break;
|
||||
case TGSI_PROPERTY_NUM_CLIPDIST_ENABLED:
|
||||
s->info.clip_distance_array_size = value;
|
||||
break;
|
||||
default:
|
||||
if (value) {
|
||||
fprintf(stderr, "tgsi_to_nir: unhandled TGSI property %u = %u\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue