diff options
author | Dave Airlie <[email protected]> | 2017-06-26 02:13:24 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-07-06 02:06:49 +0100 |
commit | a6c2001ace8ddf56b3781bc0bbf181173b8f393b (patch) | |
tree | 1b2455b17cb34f8331c5d283bed17cffae6ebab7 /src/amd/vulkan/radv_device.c | |
parent | 880f21f55d579fe2183255d031c23343da30f69e (diff) |
radv: add support for cmd predication.
This doesn't get used yet, it just adds support to various PKT3
emissions to enable it later.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index f9328fb1677..8cf54427634 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1095,6 +1095,7 @@ VkResult radv_CreateDevice( case RADV_QUEUE_GENERAL: case RADV_QUEUE_COMPUTE: si_cs_emit_cache_flush(device->flush_cs[family], + false, device->physical_device->rad_info.chip_class, NULL, 0, family == RADV_QUEUE_COMPUTE && device->physical_device->rad_info.chip_class >= CIK, @@ -1111,6 +1112,7 @@ VkResult radv_CreateDevice( case RADV_QUEUE_GENERAL: case RADV_QUEUE_COMPUTE: si_cs_emit_cache_flush(device->flush_shader_cs[family], + false, device->physical_device->rad_info.chip_class, NULL, 0, family == RADV_QUEUE_COMPUTE && device->physical_device->rad_info.chip_class >= CIK, @@ -1761,6 +1763,7 @@ radv_get_preamble_cs(struct radv_queue *queue, if (!i) { si_cs_emit_cache_flush(cs, + false, queue->device->physical_device->rad_info.chip_class, NULL, 0, queue->queue_family_index == RING_COMPUTE && |