mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
frontend/nine: Fix shader cap test for POSITIONT
This feature is almost never used in programmable shaders so no issue was ever reported. Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Signed-off-by: Axel Davy <davyaxel0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22644>
This commit is contained in:
parent
2c8eb27e2c
commit
824fad18b3
1 changed files with 1 additions and 1 deletions
|
|
@ -3686,7 +3686,7 @@ tx_ctor(struct shader_translator *tx, struct pipe_screen *screen, struct nine_sh
|
|||
TGSI_SEMANTIC_TEXCOORD : TGSI_SEMANTIC_GENERIC;
|
||||
tx->wpos_is_sysval = GET_CAP(FS_POSITION_IS_SYSVAL);
|
||||
tx->face_is_sysval_integer = GET_CAP(FS_FACE_IS_INTEGER_SYSVAL);
|
||||
tx->no_vs_window_space = GET_CAP(VS_WINDOW_SPACE_POSITION);
|
||||
tx->no_vs_window_space = !GET_CAP(VS_WINDOW_SPACE_POSITION);
|
||||
|
||||
if (IS_VS) {
|
||||
tx->num_constf_allowed = NINE_MAX_CONST_F;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue