mesa/src
Yevhenii Kharchenko 5225d0f096 st/mesa: fix PBO download for TEXTURE_1D_ARRAY textures
Fixes 'nir_tex_src_coord' param was provided to NIR 'txf' operation as a
vec3 for TEXTURE_1D_ARRAY target, causing an assert.
Only following targets require vec3: TEXTURE_2D_ARRAY, TEXTURE_3D,
TEXTURE_CUBE, TEXTURE_CUBE_ARRAY. The rest must use vec2.

Packing layer value into Y-coordinate the same way it was done in
'create_fs' in commit 2bf6dfac.

Fixes: a01ad311 ("st/mesa: Add NIR versions of the PBO upload/download
shaders. ")

Signed-off-by: Yevhenii Kharchenko <yevhenii.kharchenko@globallogic.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9014>
(cherry picked from commit 1516b6bd9a)
2021-03-11 14:12:23 -08:00
..
amd radv: set correct value for OFFCHIP_BUFFERING on GFX10+ 2021-03-11 14:12:23 -08:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3d: Clean up vestiges of alpha test lowering. 2021-02-10 15:11:15 -08:00
compiler nir: Fix parameter order in the bcsel-of-shuffle optimization 2021-02-18 14:09:05 -08:00
drm-shim
egl egl/dri2: fix image loaderPrivate type mixup 2020-12-24 00:05:15 +09:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno turnip: don't always use 3d ops for blit_image 2021-02-04 14:08:35 -08:00
gallium gallium/trace: add a pipe_screen::get_compiler_options method 2021-02-18 14:42:17 -08:00
gbm
getopt
glx glx: Provide glvnd wrapper for glXSwapIntervalEXT 2021-01-25 10:07:15 -08:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv/formats: Advertise linear sampling on depth formats 2021-02-18 14:42:17 -08:00
loader
mapi glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
mesa st/mesa: fix PBO download for TEXTURE_1D_ARRAY textures 2021-03-11 14:12:23 -08:00
microsoft microsoft/clc: Use driver_location for metadata instead of re-computing offsets 2021-03-11 14:12:23 -08:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Use explicit move even for RT#0 of MRT 2021-03-11 14:12:23 -08:00
util disk_cache: Fail creation when cannot inizialize queue. 2021-02-18 12:59:39 -08:00
virtio virgl: Enable GL_EXT_texture_sRGB_RG8 2021-01-04 21:19:35 +00:00
vulkan vulkan/device_select: Stop using device properties 2. 2021-03-11 14:12:23 -08:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript