gallium/pp: typedef and use pp_st_invalidate_state_func to avoid cast
authorYonggang Luo <luoyonggang@gmail.com>
Fri, 9 Dec 2022 20:11:32 +0000 (04:11 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Dec 2022 05:47:52 +0000 (05:47 +0000)
commitfa02fb5ccae8adf8602bba966ec8b269745512b6
tree09f16e19284524a2863f5766781276da761e9708
parenta23488d63e6717f9fd9ac16c99d1ae8b7f8f6a1e
gallium/pp: typedef and use pp_st_invalidate_state_func to avoid cast

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20042>
src/gallium/auxiliary/postprocess/postprocess.h
src/gallium/auxiliary/postprocess/pp_init.c
src/gallium/auxiliary/postprocess/pp_private.h
src/gallium/auxiliary/postprocess/pp_program.c
src/gallium/frontends/dri/dri_context.c
src/gallium/frontends/osmesa/osmesa.c
src/gallium/targets/haiku-softpipe/GalliumContext.cpp