summaryrefslogtreecommitdiffstats
path: root/src/amd/common/sid.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-04-30 17:08:19 +0200
committerSamuel Pitoiset <[email protected]>2019-05-02 09:24:05 +0200
commit6ac10e07c2d6d7740f09a4e53c6b2fc88f4ecadd (patch)
tree171faff9c1ed4077f17782c8db6e6a1f4bcd248f /src/amd/common/sid.h
parente03e7c510f571a8867ab7a8604058c075c601a70 (diff)
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: e45ba51ea45 ("radv: add support for VK_EXT_conditional_rendering") Reported-by: Philip Rebohle <[email protected]> Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/sid.h')
0 files changed, 0 insertions, 0 deletions