pvr, pco: switch to clc query shaders

Signed-off-by: Simon Perretta <simon.perretta@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37439>
This commit is contained in:
Simon Perretta
2025-08-07 20:14:55 +01:00
parent 3fd3d7ee69
commit 6dd0a5ee2d
15 changed files with 465 additions and 573 deletions
+6
View File
@@ -645,6 +645,12 @@ dst.x = sum & 0xffffffff;
dst.y = sum >> 32;
""")
opcode("umad64_32", 2, tuint32, [1, 1, 1, 1], [tuint32, tuint32, tuint32, tuint32], False, "", """
uint64_t sum = ((uint64_t)src0.x * (uint64_t)src1.x) + ((uint64_t)src3.x << 32 | (uint64_t)src2.x);
dst.x = sum & 0xffffffff;
dst.y = sum >> 32;
""")
binop("fsub", tfloat, "", """
if (nir_is_rounding_mode_rtz(execution_mode, bit_size)) {
if (bit_size == 64)