mesa/src
Alejandro Piñeiro c24a635d1c broadcom/compiler: add v3d_pack_unnormalized_coordinates helper
So far we were packing by hand unnormalized coordinates at the
V3D41_TMU_CONFIG_PARAMETER_1 pack structure. To get this working we
hardcoded V3D_VERSION to 41 at v3dv_uniforms, that works for v71
because the structure are the same. But that is somewhat ugly, and
will not work if a new hw generation have a different structure.

Additionally, we found that for v3d this will be also needed.

So this commit adds a helper on the compiler. For now, and to simplify
it also use just one method for both generations. This solves the
problem of the same code needed on both v3d and v3dv.

But the idea is that in the future we need a similar need, but the
structure different on each generation, it would have used a similar
approach to other generation dependent function calls (like
v3d40_vir_emit_tex), having the implementation on a source file that
can safely include the hw generation headers.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25544>
2023-10-31 13:00:34 +01:00
..
amd aco: remove dead code in nir_intrinsic_xfb_counter_{add,sub}_amd 2023-10-30 08:51:51 +00:00
android_stub
asahi asahi: flush denorms on exact fmin/fmax 2023-10-18 17:10:02 +00:00
broadcom broadcom/compiler: add v3d_pack_unnormalized_coordinates helper 2023-10-31 13:00:34 +01:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler vtn/opencl: always lower to libclc fmod 2023-10-27 10:52:54 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl: fix leaking drmDevicePtr in _eglFindDevice 2023-10-25 12:37:30 +00:00
etnaviv etnaviv: drm: Be able to mark end of context init 2023-10-23 14:56:48 +00:00
freedreno tu/a6xx: Exclude REG_A6XX_TPL1_UNKNOWN_B602 from reg stomping 2023-10-30 09:39:21 +00:00
gallium ci/zink: reduce premerge testing on a618 to ~ 12 minutes 2023-10-31 01:00:25 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx glx: Delete support for GLX_OML_swap_method. 2023-10-20 10:03:43 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: Only setup the bgobj to load if we have a load_op 2023-10-23 08:18:33 +00:00
imgui
intel intel/compiler: Assert that FS_OPCODE_[REP_]FB_WRITE is for pre-Gfx7 2023-10-30 23:03:23 +00:00
loader glx: Delete support for GLX_OML_swap_method. 2023-10-20 10:03:43 +00:00
mapi mesa: add GL_APPLE_sync support 2023-10-20 17:20:11 +00:00
mesa mesa/st/texture: match width+height for texture downloads of cube textures 2023-10-27 00:44:49 +00:00
microsoft nir: Use getters for nir_src::parent_* 2023-10-10 04:58:05 -04:00
nouveau nvk: Implement VK_EXT_dynamic_rendering_unused_attachments 2023-10-19 14:06:07 +00:00
panfrost ci/panfrost: run T860 traces as intended (nightly job) 2023-10-31 01:00:25 +00:00
tool radeonsi: Add tracepoints in radeonsi driver 2023-10-19 16:16:16 +00:00
util util: remove unused lut 2023-10-30 12:35:07 +00:00
virtio ci/venus: reduce pre-merge to fit under 15 min 2023-10-31 01:00:25 +00:00
vulkan compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
.clang-format nir: Add nir_foreach_block_in_cf_node_reverse 2023-09-22 10:05:58 +00:00
meson.build nvk: add vulkan skeleton 2023-08-04 21:31:52 +00:00