summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/nir
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2015-10-22 22:28:28 +0200
committerRoland Scheidegger <[email protected]>2015-10-24 03:00:33 +0200
commitfb586e1edb207328534f554a9afaf2c07434e08e (patch)
tree52fe584fb45cd8d5651d345ddd278c68ab9e3e37 /src/gallium/auxiliary/nir
parentfe707c0373cf73f9323014f7bc38f20120d4f096 (diff)
softpipe: fix using non-zero layer in non-array view from array resource
For vertex/geometry shader sampling, this is the same as for llvmpipe - just use the original resource target. For fragment shader sampling though (which does not use first-layer based mip offsets) adjust the sampling code to use first_layer in the non-array cases. While here also fix up some code which looked wrong wrt buffer texel fetch (no piglit change). Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/nir')
0 files changed, 0 insertions, 0 deletions