mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
tgsi_to_nir: Set use_legacy_math_rules for TGSI_PROPERTY_LEGACY_MATH_RULES.
These control the same behavior, now that we've clarified what the flags do. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16176>
This commit is contained in:
parent
1e2e52eff7
commit
b61097dd45
1 changed files with 3 additions and 0 deletions
|
|
@ -2389,6 +2389,9 @@ ttn_compile_init(const void *tgsi_tokens,
|
|||
case TGSI_PROPERTY_NUM_CLIPDIST_ENABLED:
|
||||
s->info.clip_distance_array_size = value;
|
||||
break;
|
||||
case TGSI_PROPERTY_LEGACY_MATH_RULES:
|
||||
s->info.use_legacy_math_rules = value;
|
||||
break;
|
||||
default:
|
||||
if (value) {
|
||||
fprintf(stderr, "tgsi_to_nir: unhandled TGSI property %u = %u\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue