mesa/src
Karmjit Mahil 6a9364f4bc pvr: Change pvr_get_hw_clear_color() to pack based on accum formats.
`pvr_get_hw_clear_color()` now packs formats based on the accum
format which is how the hw deals with the formats internally and
might not line up exactly with the vk format representation.

E.g. R5G6B5_UNORM_PACK16 uses the U8 accum format so the USC will
internally use 3 bytes (1 per component) to deal with it instead
of 2 bytes which the vk format specifies. On USC EMITPIX, the PBE
will pack the results to 2 bytes using PACKMODE_R5G6B5 resulting
in the final value being in the vk format representation.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19218>
2022-10-25 10:15:09 +00:00
..
amd aco: change thread_local memory resource to pointer 2022-10-25 09:08:08 +00:00
android_stub
asahi agx: Use agx_nir_opt_preamble 2022-10-22 15:00:12 -04:00
broadcom v3d/ci: Add a flake 2022-10-24 21:39:38 +00:00
c11 c11: Getting the macro guard of HAVE_PTHREAD in c11/threads.h to be consistence with util/u_uthread.h 2022-10-20 03:04:56 +00:00
compiler nir,ac/nir/ngg,radv: split shader_query_enabled_amd 2022-10-25 02:42:52 +00:00
drm-shim drm-shim: drop gnu99 override 2022-09-16 02:06:38 +00:00
egl egl: fix error string for dri2_create_image_dma_buf() 2022-10-21 14:57:25 +00:00
etnaviv util/mesa/wide: Rename _SIMPLE_MTX_INITIALIZER_NP to SIMPLE_MTX_INITIALIZER 2022-10-14 03:27:41 +00:00
freedreno freedreno/ir3: Switch to NIR for a5xx's vertex id lowering. 2022-10-24 23:05:18 +00:00
gallium gallivm: Fix LLVM optimization with the new pass manager 2022-10-25 09:41:58 +00:00
gbm Android: Use libgbm_mesa name for SDK30+ 2022-09-12 07:37:27 +00:00
getopt
glx glx: Adot #ifdef GLX_USE_WINDOWSGL in #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) 2022-10-20 17:06:10 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Change pvr_get_hw_clear_color() to pack based on accum formats. 2022-10-25 10:15:09 +00:00
imgui
intel hasvk: Nuke code around local memory 2022-10-23 16:33:20 -07:00
loader loader/dri3: Add DRI performance option to wait for next buffer on swap 2022-10-25 08:30:35 +00:00
mapi mapi: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in stub.c 2022-10-20 01:32:47 +00:00
mesa mesa: Fix stack corruption for PIPE_QUERY_TIMESTAMP 2022-10-24 19:43:03 +00:00
microsoft microsoft/spirv2dxil: Support pack_32_2x16 and pack_32_4x8 2022-10-24 17:39:59 +00:00
nouveau nv50: call nir_lower_flrp 2022-10-10 17:22:49 +00:00
panfrost ci/panfrost: re-enable traces on t760 2022-10-24 21:24:46 +00:00
tool pps: enable track_event in intel.cfg 2022-10-09 22:39:53 +03:00
util loader/dri3: Add DRI performance option to wait for next buffer on swap 2022-10-25 08:30:35 +00:00
virtio venus: drop duplicated YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT 2022-10-20 21:38:44 +00:00
vulkan vulkan: wsi: fix musl build 2022-10-24 15:39:06 +00:00
meson.build meson: Remove usage of use_elf_tls 2022-07-29 23:59:11 +00:00