mesa/src
Jason Ekstrand d8df87056c nir: xfb_buffer_info::stride is in bytes
For the NIR XFB gathering as well as all the Vulkan drivers, buffer
strides in nir_xfb_info are in bytes.  When Marek started using
nir_xfb_info for GLSL on radeonsi, he copied directly from the GLSL
struct which has strides in dwords.  This inconsistency didn't show up
until I went through and started us using the NIR passes for GL drivers
directly without going through the GLSL structs.  We could change the
nir_xfb_buffer_info field to be in dwords to be consistent with
shader_info but that would mean changing all the Vulkan drivers but, for
now, it's easier to always use bytes in nir_xfb_info.

Fixes: 2a22885a45 ("st,nir: Use nir_shader::xfb_info in nir_lower_io_passes")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16819>
2022-06-02 14:06:31 +00:00
..
amd include: drop c11_compat.h 2022-06-02 13:09:16 +00:00
android_stub
asahi asahi: Add wrap library 2022-05-22 17:58:07 -04:00
broadcom v3dv: use the global RCL EZ disable if we don't have any EZ draws in the job 2022-06-01 08:11:04 +02:00
compiler nir: xfb_buffer_info::stride is in bytes 2022-06-02 14:06:31 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl egl: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
etnaviv etnaviv: fill all minor GPU features from the kernel 2022-04-27 09:10:27 +00:00
freedreno freedreno: remove stale makefile 2022-06-02 09:13:23 +00:00
gallium lavapipe: fix dynamic patchControlPoints 2022-06-02 13:51:17 +00:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx/dri2: Require DRI2 >= 1.3 for working buffer invalidation 2022-05-17 20:31:50 +00:00
gtest
hgl
imagination include: drop c11_compat.h 2022-06-02 13:09:16 +00:00
imgui
intel intel/isl: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi mapi: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
mesa include: drop c99_math.h 2022-06-02 13:09:16 +00:00
microsoft dzn: add debug option to redirect stdout/stderr 2022-06-01 08:54:22 +00:00
nouveau nouveau: disable fences when running under drm-shim. 2022-05-09 23:10:45 +00:00
panfrost pan/bi: Respect swizzles in nir_op_pack_64_2x32_split 2022-06-01 20:08:42 +00:00
tool pps: Open writable renderer node in DrmDevice::create 2022-05-11 15:41:28 +00:00
util include: drop c11_compat.h 2022-06-02 13:09:16 +00:00
virtio venus: resolve AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420 to external format 2022-06-01 20:25:47 +00:00
vulkan vulkan/device_select: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00