mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-28 07:48:20 +02:00
radv: set correct value for OFFCHIP_BUFFERING on GFX10+
Higher values break tessellation. I was only able to reproduce this by switching back/from AMDVLK which was really weird... According to Marek (1c6eca23fd), it looks like it's related to register shadowing and PAL enables it, that probably explains a bit. Copied from PAL and RadeonSI. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4207 Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2498 Fixes:74d69299d1("radv/gfx10: double the number of tessellation offchip buffers per SE") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9141> (cherry picked from commite3bdf815b7)
This commit is contained in:
parent
885b091587
commit
68197e8c67
2 changed files with 2 additions and 2 deletions
|
|
@ -3343,7 +3343,7 @@
|
|||
"description": "radv: set correct value for OFFCHIP_BUFFERING on GFX10+",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "74d69299d167cdd88bf8582266ab4fa8b845f53e"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3373,7 +3373,7 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff
|
|||
* Follow AMDVLK here.
|
||||
*/
|
||||
if (device->physical_device->rad_info.chip_class >= GFX10) {
|
||||
max_offchip_buffers_per_se = 256;
|
||||
max_offchip_buffers_per_se = 128;
|
||||
} else if (device->physical_device->rad_info.family == CHIP_VEGA10 ||
|
||||
device->physical_device->rad_info.chip_class == GFX7 ||
|
||||
device->physical_device->rad_info.chip_class == GFX6)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue