mesa/src/imagination/common
Icenowy Zheng e0eb9bc602 pvr: set has_usc_alu_roundingmode_rne for all B-series Rogue cores
All B-series Rogue cores seem to have USC rounding mode as RTE instead
of RTZ.

Set the has_usc_alu_roundingmode_rne feature flag for them (currently
only BXS-4-64 has it set).

Verified via testing on BXM-4-64 (36.52.104.182) by fixing CTS tests
dEQP-VK.spirv_assembly.instruction.*.float_controls.fp32.input_args.* ,
and via proprietary driver vulkaninfo result on BXE-2-32 (36.29.52.182),
BXE-4-32 (36.50.54.182) and BXM-4-64 (36.56.104.183) (checking
shaderRoundingModeRT?Float32 properties).

Fixes: 1db1038a61 ("pvr: add device info for BXM-4-64 (36.56.104.183)")
Fixes: e60e0c96ba ("pvr: add device info for BXE-2-32 (36.29.52.182)")
Fixes: 2743363a57 ("pvr: add device info for BXM-4-64 (36.52.104.182)")
Fixes: ea28791d40 ("pvr: add device info for BXE-4-32 (36.50.54.182)")
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
(cherry picked from commit 9b44def4e9)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40979>
2026-04-14 15:27:46 +02:00
..
device_info pvr: set has_usc_alu_roundingmode_rne for all B-series Rogue cores 2026-04-14 15:27:46 +02:00
meson.build pvr, pco: usc program (pre-)generation boilerplate 2025-09-16 18:26:09 +00:00
pvr_debug.c pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_debug.h pvr: Remove PVR_WINSYS_BO_FLAG_ZERO_ON_ALLOC flag 2023-09-06 12:19:46 +00:00
pvr_device_info.c pvr: add device info for GE8300 (22.67.54.30) 2025-11-05 14:47:27 +00:00
pvr_device_info.h pvr: store has_pbe_stride_align_1pixel in pvr_device_features 2025-11-17 16:04:31 +00:00
pvr_dump.c
pvr_dump.h imagination: Re-format using clang-format 2025-09-17 10:05:18 +00:00
pvr_dump_info.c pvr: fix PVR_DEBUG=info when running w/o KHR_display 2025-12-04 07:27:55 +00:00
pvr_dump_info.h pvr: Add 'info' PVR_DEBUG flag 2023-09-04 14:38:27 +00:00
pvr_iface.h pvr, pco: switch to clc load/store sr and idfwdf shaders 2025-09-22 14:52:05 +01:00
pvr_limits.h pvr: add helpers to query limits based on device-info 2025-12-11 15:26:05 +00:00
pvr_util.c
pvr_util.h pvr: don't NIH alignment helpers 2025-10-31 15:03:58 +00:00