mesa: add missing state to state string computation
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 12 Nov 2021 02:10:20 +0000 (21:10 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 12 Nov 2021 12:34:14 +0000 (12:34 +0000)
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@alum.mit.edu>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13073>

src/mesa/program/prog_statevars.c

index 8632bde..f3a367d 100644 (file)
@@ -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: