st/nine: Increase number of constants of vs1_sw

Wine tests seem to indicate more the 256 should
be supported for this case, but I couldn't find the
doc for how much it should be. Use the vs >= 2
settings for now.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10160>
This commit is contained in:
Axel Davy 2021-03-12 13:38:59 +01:00 committed by Marge Bot
parent 138615a094
commit 787b03d5f6
1 changed files with 2 additions and 1 deletions

View File

@ -3649,7 +3649,8 @@ tx_ctor(struct shader_translator *tx, struct pipe_screen *screen, struct nine_sh
tx->num_constb_allowed = NINE_MAX_CONST_B;
}
if (info->swvp_on && tx->version.major >= 2) {
if (info->swvp_on) {
/* TODO: The values tx->version.major == 1 */
tx->num_constf_allowed = 8192;
tx->num_consti_allowed = 2048;
tx->num_constb_allowed = 2048;