"README.rst" did not exist on "2d2f1fd164218eacf2b142bc808be1f25f66e72c"
st/mesa: store state that affects sampler views per context
This fixes sequences like:
1. Context 1 samples from texture with sRGB decode enabled
2. Context 2 samples from texture with sRGB decode disabled
3. Context 1 samples from texture with sRGB decode disabled
Previously, step 3 would see the prev_sRGBDecode value from context 2
and would incorrectly use the old sampler view with sRGB decode enabled.
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
Showing
- src/mesa/state_tracker/st_atom_sampler.c 2 additions, 2 deletionssrc/mesa/state_tracker/st_atom_sampler.c
- src/mesa/state_tracker/st_atom_texture.c 0 additions, 12 deletionssrc/mesa/state_tracker/st_atom_texture.c
- src/mesa/state_tracker/st_sampler_view.c 28 additions, 21 deletionssrc/mesa/state_tracker/st_sampler_view.c
- src/mesa/state_tracker/st_texture.h 14 additions, 6 deletionssrc/mesa/state_tracker/st_texture.h
Loading
Please register or sign in to comment