From a8ef34bd31a8551f1664475cae50085ebae7a9a4 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 9 Feb 2023 16:58:58 +0200 Subject: [PATCH] anv: bring back the max number of sets to 8 Not sure we bumped it to 32 for the right reasons. This generates more push constant data and because we're not tighly packing our push constant data this can generate more register pressure. We could tightly pack things at the cost of some CPU cycles but only for some stages. RT stages would have to retain the current "sparse" version of push constants. Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- src/gallium/drivers/zink/ci/traces-zink.yml | 2 +- src/intel/vulkan/anv_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/zink/ci/traces-zink.yml b/src/gallium/drivers/zink/ci/traces-zink.yml index 6cb4c8e1d0f..26b0eb73b59 100644 --- a/src/gallium/drivers/zink/ci/traces-zink.yml +++ b/src/gallium/drivers/zink/ci/traces-zink.yml @@ -35,7 +35,7 @@ traces: checksum: 433b69bea68cfe81914b857bbdc60ea5 gputest/pixmark-piano-v2.trace: gl-zink-anv-tgl: - checksum: cf7e480f3bdb79ece172a2ccedda2e9d + checksum: 897c704551c305c1cfb7cc6293cd495d gputest/triangle-v2.trace: gl-zink-anv-tgl: checksum: 5f694874b15bcd7a3689b387c143590b diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 92071400875..8c4099e3b7b 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -161,7 +161,7 @@ struct intel_perf_query_result; #define MAX_XFB_BUFFERS 4 #define MAX_XFB_STREAMS 4 -#define MAX_SETS 32 +#define MAX_SETS 8 #define MAX_RTS 8 #define MAX_VIEWPORTS 16 #define MAX_SCISSORS 16