diff options
author | Roland Scheidegger <[email protected]> | 2015-10-22 22:26:52 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2015-10-24 03:00:33 +0200 |
commit | fe707c0373cf73f9323014f7bc38f20120d4f096 (patch) | |
tree | d1436bb2fd77109540d5fb2995e0d8f20e2a48b9 /src/gallium/drivers/softpipe | |
parent | 830e57b82d21fd324059b7a7074b047ad41d0aa4 (diff) |
llvmpipe: fix using non-zero layer in non-array view from array resource
Just need to use resource target not view target when calculating
first-layer based mip offsets. (This is a gl specific problem since
d3d10 does not distinguish between non-array and array resources neither
at the resource nor view level, only at the shader level.)
Fixes new piglit arb_texture_view sampling-2d-array-as-2d-layer test.
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
0 files changed, 0 insertions, 0 deletions