radv: set DISABLE_CONSTANT_ENCODE_REG to 1 for Raven2
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Jun 2019 14:17:17 +0000 (16:17 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Jun 2019 14:45:15 +0000 (16:45 +0200)
commit5411f470564f6f1c2a55d037103f051cbddd5623
tree95949289b70911d08c2d2c2aa93064070ae02dda
parent34bef8a0d70211b073778d7a93d5c97d7f272558
radv: set DISABLE_CONSTANT_ENCODE_REG to 1 for Raven2

Ported from RadeonSI, will be emitted for GFX10 too.

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