summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-01-22 10:27:18 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commit7c4483de0ee7b46981dab0459d222774524db461 (patch)
treec819937fcbab18c853d2ff64ff52f8faec08f43c /src/freedreno/vulkan/tu_private.h
parent9c83a7572b22c907cb41107cd991ec4fcea216cf (diff)
turnip: preliminary support for tu_GetRenderAreaGranularity
Set it to tile alignments, 32x32 on 6xx.
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index b9b00c76a7c..3edb9913ce2 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -295,6 +295,8 @@ struct tu_physical_device
unsigned gpu_id;
uint32_t gmem_size;
+ uint32_t tile_align_w;
+ uint32_t tile_align_h;
/* This is the drivers on-disk cache used as a fallback as opposed to
* the pipeline cache defined by apps.