Skip to content
Snippets Groups Projects
Commit bce3055c authored by Nicolai Hähnle's avatar Nicolai Hähnle
Browse files

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: default avatarMarek Olšák <marek.olsak@amd.com>
parent e4848053
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment