summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_gather_info.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-09-12 09:48:41 +0200
committerDave Airlie <[email protected]>2018-09-14 10:59:02 +1000
commitfa5e9f1f73f64ac089f8efd5b101a77d06d22fcd (patch)
treeeda341a9cbe0e693ff2836e4d92e7bea1c05571a /src/compiler/nir/nir_gather_info.c
parent21b92b3464193a203e069f50c21ebec146ae0215 (diff)
virgl: adjust strides when mapping temp-resources
When we're mapping temp-resources, we clip the resource to the transfer-box, which means the stride might not be correct any more. So let's update the stride from the temp-resource, and recompute the layer-stride. This fixes crashes when running dEQP with --deqp-gl-config-name=rgba8888d24s8ms4 Signed-off-by: Erik Faye-Lund <[email protected]> Fixes: a8987b88ff1 "virgl: add driver for virtio-gpu 3D (v2)" Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_gather_info.c')
0 files changed, 0 insertions, 0 deletions