Mesa (main): mesa: add missing state to state string computation

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 12 13:07:45 UTC 2021


Module: Mesa
Branch: main
Commit: 43322ceccdfa67fcd133c94f51adfaefe2d99db2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43322ceccdfa67fcd133c94f51adfaefe2d99db2

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Nov 11 21:10:20 2021 -0500

mesa: add missing state to state string computation

This is an internal state, so does not need to be made available in the
string itself (same as the wpos_y_transform). But it needs to be listed
to avoid the mesa_problem.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13073>

---

 src/mesa/program/prog_statevars.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c
index 8632bde9a61..f3a367d8bb8 100644
--- a/src/mesa/program/prog_statevars.c
+++ b/src/mesa/program/prog_statevars.c
@@ -1334,6 +1334,7 @@ _mesa_program_state_string(const gl_state_index16 state[STATE_LENGTH])
    case STATE_PT_BIAS:
    case STATE_FB_SIZE:
    case STATE_FB_WPOS_Y_TRANSFORM:
+   case STATE_FB_PNTC_Y_TRANSFORM:
    case STATE_TCS_PATCH_VERTICES_IN:
    case STATE_TES_PATCH_VERTICES_IN:
    case STATE_ADVANCED_BLENDING_MODE:



More information about the mesa-commit mailing list