mesa/src
Yevhenii Kharchenko 1516b6bd9a 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>
2021-02-19 19:29:57 +00:00
..
amd ci: Move specific driver testing to separate files in separate dirs. 2021-02-19 17:30:36 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom ci: Move specific driver testing to separate files in separate dirs. 2021-02-19 17:30:36 +00:00
compiler glsl: Silence a warning at -Og 2021-02-18 20:59:43 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl/dri2: enable EGL_WL_bind_wayland_display in EGL device platform 2021-01-28 00:30:10 +00:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno turnip,freedreno/a6xx: tell hw the size of shared mem used by CS 2021-02-19 20:28:44 +02:00
gallium iris: Reference the shader variant for last_vue_map as well 2021-02-19 18:49:19 +00:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx: Fix GLX_SGI_video_sync for the no-current-drawable case 2021-02-10 21:10:04 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/mi_builder: Add tests for gen_mi_z and gen_mi_nz 2021-02-18 21:28:40 +00:00
loader loader: Silence a warning at -Og 2021-02-18 20:59:43 +00:00
mapi glthread: ignore the return value of glUnmapBuffer, don't sync, and return true 2021-02-17 05:47:27 -05:00
mesa st/mesa: fix PBO download for TEXTURE_1D_ARRAY textures 2021-02-19 19:29:57 +00:00
microsoft microsoft/clc: Add a test with an unused kernel arg 2021-02-19 16:36:46 +00: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-02-18 21:48:22 +00:00
util util: fix gcc vsnprintf overflow 2021-02-19 11:05:38 +00:00
virtio virgl: update headers 2021-02-16 16:09:14 +00:00
vulkan meson: invalid keyword argument dependencies 2021-02-16 11:35:32 +00:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript