mesa/src/amd
Samuel Pitoiset 1d3542694b radv: fix emitting depth bias when beginning a command buffer
If depth bias is enabled but zero values used, they were never
emitted to the command buffer because they are equal to the default
values.

Previously, they were always emitted when the bound DS attachment
changed.

This should fix some sort of Z fighting with Dota2 on all GPUs.
This also fixes a different issue (ie. some occlusion queries failures)
on GFX6 because CLEAR_STATE is not used on that chip.

Fixes: 8a47422d97 ("radv: do not scale the depth bias for D16_UNORM depth surfaces")
Cc: 21.1 mesa-stable
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/10310>
2021-04-20 09:09:38 +00:00
..
addrlib amd/addrlib: expose HTILE address equations to drivers on GFX10+ 2021-04-14 09:31:13 +00:00
ci radv: advertise attachmentFragmentShadingRate on GFX10.3 2021-04-14 09:31:13 +00:00
common amd/registers: rename IMG_FORMAT to GFX10_FORMAT to disambiguate the meaning 2021-04-17 02:37:49 +00:00
compiler aco: fix opquantize2f16 on GFX6-7 2021-04-19 16:33:37 +00:00
llvm amd: remove some references to older LLVM versions in comments 2021-04-16 09:25:19 +00:00
registers amd/registers: rename IMG_FORMAT to GFX10_FORMAT to disambiguate the meaning 2021-04-17 02:37:49 +00:00
vulkan radv: fix emitting depth bias when beginning a command buffer 2021-04-20 09:09:38 +00:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
Android.addrlib.mk android: amd/addrlib: define endianess to build 2021-03-27 01:54:49 +01:00
Android.common.mk android: amd/registers: switch to new generated register definitions 2020-09-06 20:20:34 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources aco: add new reindex_ssa() pass 2021-04-13 18:40:57 +00:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00