mesa/src/amd
Samuel Pitoiset 6ac10e07c2 radv: implement a workaround for VK_EXT_conditional_rendering
Per the Vulkan spec 1.1.107, the predicate is a 32-bit value. Though
the AMD hardware treats it as a 64-bit value which means it might
fail to discard.

I don't know why this extension has been drafted like that but this
definitely not fit with AMD. The hardware doesn't seem to support
a 32-bit value for the predicate, so we need to implement a workaround.

This fixes an issue when DXVK enables conditional rendering with RADV,
this also fixes the Sasha conditionalrender demo.

Fixes: e45ba51ea4 ("radv: add support for VK_EXT_conditional_rendering")
Reported-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-05-02 09:24:05 +02:00
..
addrlib amd/addrlib: fix uninitialized values for Addr2ComputeDccAddrFromCoord 2019-04-04 09:30:40 -04:00
common delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
vulkan radv: implement a workaround for VK_EXT_conditional_rendering 2019-05-02 09:24:05 +02:00
Android.addrlib.mk android: amd/addrlib: update Mesa's copy of addrlib 2018-12-01 01:13:53 +01:00
Android.common.mk Android: fix undeclared identifier 'gfx9d_reg_table' 2017-09-11 09:35:23 -05:00
Android.mk android: radv: build vulkan.radv conditionally to radeonsi 2018-08-03 20:09:16 +02:00
Makefile.sources amd/addrlib: drop si_ci_vi_merged_enum.h from the list 2018-12-10 16:35:01 +00:00
meson.build meson: build "radv" vulkan driver for radeon hardware 2017-09-27 09:12:34 -07:00