diff options
author | Marek Olšák <[email protected]> | 2016-08-02 16:59:41 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-12 18:50:01 +0200 |
commit | ac032d800e5f4cb3ab9166187150a93c17a508aa (patch) | |
tree | c17d1b8bea029be2ab7d47d1329dda13c9d71837 /src/mesa/state_tracker/st_atom.h | |
parent | c323d5b8096cec3251c7a4a4269f0f7570fb274f (diff) |
st/mesa: _NEW_TEXTURE & CONSTANTS shouldn't flag states that aren't used
Tested-by: Edmondo Tommasina <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom.h')
-rw-r--r-- | src/mesa/state_tracker/st_atom.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom.h b/src/mesa/state_tracker/st_atom.h index c206343b16b..37e382c4456 100644 --- a/src/mesa/state_tracker/st_atom.h +++ b/src/mesa/state_tracker/st_atom.h @@ -134,6 +134,14 @@ enum { ST_NEW_FS_IMAGES | \ ST_NEW_CS_IMAGES) +#define ST_ALL_SHADER_RESOURCES (ST_NEW_SAMPLER_VIEWS | \ + ST_NEW_SAMPLERS | \ + ST_NEW_CONSTANTS | \ + ST_NEW_UNIFORM_BUFFER | \ + ST_NEW_ATOMIC_BUFFER | \ + ST_NEW_STORAGE_BUFFER | \ + ST_NEW_IMAGE_UNITS) + /* All state flags within each group: */ #define ST_PIPELINE_RENDER_STATE_MASK (ST_NEW_CS_STATE - 1) #define ST_PIPELINE_COMPUTE_STATE_MASK (0xffllu << ST_NEW_CS_STATE_INDEX) |