aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-05-09 04:17:30 +0100
committerDave Airlie <[email protected]>2017-06-09 02:15:25 +0100
commitc2464271a04964121d21eb1508d9dc61ec2d8e71 (patch)
tree5a34e6ab428ccd42006d9a5e6a4d89b6ebffa6ca /src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
parentd0a26edc25a0125ab85dc5eabdd235792b5ac899 (diff)
radv: introduce perf test env var and allow to enable chaining
We have some features that seem to slow things down or cause other possible undesireable side effects, but it would be nice to test games etc with them easily. I forsee multisample DCC and maybe some shader opt changes using this. For now use it for batch chaining. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h')
-rw-r--r--src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
index 59e2730b124..426cf692ec0 100644
--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
@@ -43,6 +43,7 @@ struct radv_amdgpu_winsys {
ADDR_HANDLE addrlib;
bool debug_all_bos;
+ bool batchchain;
pthread_mutex_t global_bo_list_lock;
struct list_head global_bo_list;
unsigned num_buffers;