v3d: Make the function to set tex dirty state for a stage global
authorNeil Roberts <nroberts@igalia.com>
Tue, 29 Sep 2020 15:20:31 +0000 (17:20 +0200)
committerNeil Roberts <nroberts@igalia.com>
Sun, 4 Oct 2020 13:29:54 +0000 (15:29 +0200)
commitd25504dae01eadf02a5364fc75bfcf490bc3831a
tree3629051c50e0d2e2e1af293bb9e20e6d039ef412
parentef918f0e3354fbff4d9d73f6186a3dc970d43514
v3d: Make the function to set tex dirty state for a stage global

This moves the static function v3d_dirty_tex_state_for_shader_type from
v3dx_state.c to v3d_context.c and adds a declaration for it in the
header so that it can be used as a general utility function in a later
patch.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6914>
src/gallium/drivers/v3d/v3d_context.c
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3dx_state.c