summaryrefslogtreecommitdiffstats
path: root/src/vulkan/isl.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-12-02 09:14:48 -0800
committerChad Versace <[email protected]>2015-12-03 15:26:11 -0800
commitbda43a0f59e5f5877c10b2ce6727fba99d486d37 (patch)
tree5821bb359f0168704b244648e1b0d5b80eda2b92 /src/vulkan/isl.c
parent57941b61ab12a2c9f6cd97fd08fea5d1ae04414e (diff)
isl: Rename legacy Y tiling to ISL_TILING_Y0
Rename legacy Y tiling from ISL_TILING_Y to ISL_TILING_Y0 in order to clearly distinguish it from Yf and Ys. Using ISL_TILING_Y to denote legacy Y tiling would lead to confusion with i965, because i965 uses I195_TILE_Y to denote *any* Y tiling.
Diffstat (limited to 'src/vulkan/isl.c')
-rw-r--r--src/vulkan/isl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/isl.c b/src/vulkan/isl.c
index ebfd2bfb104..65b696a1003 100644
--- a/src/vulkan/isl.c
+++ b/src/vulkan/isl.c
@@ -56,7 +56,7 @@ isl_tiling_get_extent(const struct isl_device *dev,
static const struct isl_extent2d legacy_extents[] = {
[ISL_TILING_LINEAR] = { 1, 1 },
[ISL_TILING_X] = { 512, 8 },
- [ISL_TILING_Y] = { 128, 32 },
+ [ISL_TILING_Y0] = { 128, 32 },
[ISL_TILING_W] = { 128, 32 },
};
@@ -74,7 +74,7 @@ isl_tiling_get_extent(const struct isl_device *dev,
switch (tiling) {
case ISL_TILING_LINEAR:
case ISL_TILING_X:
- case ISL_TILING_Y:
+ case ISL_TILING_Y0:
case ISL_TILING_W:
*e = legacy_extents[tiling];
return;