radv: remove useless check in radv_set_depth_clear_regs()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Nov 2017 14:43:58 +0000 (15:43 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Nov 2017 09:45:19 +0000 (10:45 +0100)
commit403a3d80613fcc7ce0684f763b08a0e33a12374a
treebc5fdc64b51846472f511b2b46be3da32c0e4ecc
parent59ca0c4b446d32603b3e0aa3935120526ff20791
radv: remove useless check in radv_set_depth_clear_regs()

aspects can't be zero and there is an assertion that ensures
it's not in emit_clear().

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