radv: only load needed depth clear regs for fast depth clears
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Nov 2017 14:44:01 +0000 (15:44 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Nov 2017 09:45:27 +0000 (10:45 +0100)
commitcf54ea155eb408a37a27ab61a8315d857cd0250f
tree50eee2826c281e551bdac7418c697523da8c5dbc
parente55b7609fa2b2c692d5cf56732b198ccf89fde2e
radv: only load needed depth clear regs for fast depth clears

Similar to how the driver sets the depth clear regs after a
fast depth clear. Most of the time, this will copy a 32-bit reg
instead of a 64-bit reg.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c