diff options
author | Brian Paul <[email protected]> | 2017-06-27 09:36:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-06-30 13:37:10 -0600 |
commit | 95d5c48f68b598cfa6db25f44aac52b3e11403cc (patch) | |
tree | 20c2384847bd0a4ee7b50923fc270b550321d6f7 /src/gallium/drivers/svga | |
parent | f4d5e55dd1cb4617ee18387d2aff337676b420c4 (diff) |
st/mesa: fix texture image resource selection in st_render_texture()
If we're rendering to an incomplete/inconsistent (cube) texture, the
different faces/levels of the texture may be stored in different
resources. Before, we always used the texture object resource. Now,
we use the texture image resource. In normal circumstances, that's
the same resource. But in some cases, such as the Piglit
fbo-incomplete-texture-03 test, the cube faces are in different
resources and we need to render to the texture image resource.
Fixes fbo-incomplete-texture-03 with VMware driver.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
0 files changed, 0 insertions, 0 deletions