diff options
author | Eric Anholt <[email protected]> | 2017-07-27 18:11:19 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-09-26 14:49:43 -0700 |
commit | 68c91a87d73cfcd947e09803ceb800b50bf9e399 (patch) | |
tree | d69de616cf379a03bd166c4167aa17e1d390a7e5 /src/intel/genxml | |
parent | 4b407a62c757c8344736caa200e706d2bd66fb2c (diff) |
broadcom/vc4: Keep pipe_sampler_view->texture matching the original texture.
I was overwriting view->texture with the shadow resource when we need to
do shadow copies (retiling or baselevel rebase), but that tripped up some
critical new sanity checking in state_tracker (making sure that stObj->pt
hasn't changed from view->texture through TexImage-related paths).
To avoid that, move the shadow resource to the vc4_sampler_view struct.
Fixes: f0ecd36ef8e1 ("st/mesa: add an entirely separate codepath for setting up buffer views")
Diffstat (limited to 'src/intel/genxml')
0 files changed, 0 insertions, 0 deletions