mesa/src/gallium/drivers/virgl
Erik Faye-Lund fa5e9f1f73 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 <erik.faye-lund@collabora.com>
Fixes: a8987b88ff "virgl: add driver for virtio-gpu 3D (v2)"
Reviewed-by: Dave Airlie <airlied@redhat.com>
2018-09-14 10:59:02 +10:00
..
Android.mk Android: use symlinks for driver loading 2017-06-29 09:09:49 -05:00
Automake.inc virgl/vtest: add vtest driver 2015-10-23 14:40:07 +10:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
Makefile.sources virgl: rename virgl.h to virgl_screen.h 2015-10-30 17:37:08 +00:00
meson.build meson: define driver dependencies 2017-12-04 14:35:36 -08:00
virgl_buffer.c virgl: also mark sampler views as dirty 2018-08-01 08:05:39 +10:00
virgl_context.c virgl: use hw-atomics instead of in-ssbo ones 2018-09-05 05:46:58 +01:00
virgl_context.h virgl: use hw-atomics instead of in-ssbo ones 2018-09-05 05:46:58 +01:00
virgl_encode.c virgl: don't send a shader create with no data. (v2) 2018-09-10 12:23:30 +10:00
virgl_encode.h virgl: use hw-atomics instead of in-ssbo ones 2018-09-05 05:46:58 +01:00
virgl_hw.h virgl: use hw-atomics instead of in-ssbo ones 2018-09-05 05:46:58 +01:00
virgl_protocol.h virgl: use hw-atomics instead of in-ssbo ones 2018-09-05 05:46:58 +01:00
virgl_public.h virgl: remove sw_winsys pointer from virgl_screen 2015-10-30 17:37:08 +00:00
virgl_query.c virgl: add ARB_transform_feedback_overflow_query support 2018-05-30 17:02:55 +01:00
virgl_resource.c gallium/util: don't modify usage in pipe_buffer_write 2016-07-23 13:33:42 +02:00
virgl_resource.h virgl: add initial shader_storage_buffer_object support. (v2) 2018-07-24 05:54:21 +10:00
virgl_screen.c gallium: add PIPE_CAP_MAX_TEXTURE_UPLOAD_MEMORY_BUDGET 2018-09-07 17:59:02 -04:00
virgl_screen.h virgl: add debug-switch to output TGSI 2018-08-28 14:13:43 +02:00
virgl_streamout.c virgl: ARB_enhanced_layouts support 2018-08-22 05:05:21 +10:00
virgl_texture.c virgl: adjust strides when mapping temp-resources 2018-09-14 10:59:02 +10:00
virgl_tgsi.c forward precise-flag if supported 2018-07-24 10:27:27 +02:00
virgl_winsys.h virgl: add initial ARB_compute_shader support 2018-08-01 14:00:31 +10:00