summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_image.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-05-02 10:12:36 +1000
committerDave Airlie <[email protected]>2017-05-03 06:00:38 +1000
commit5d0f792f067585edb6496bc4deec6af3875835e3 (patch)
treed58bd1a896cebae3fae345857c85d170a8dc65b5 /src/amd/vulkan/radv_image.c
parent052487be4ccd6b4ad7a8f0fac22729bb72acf549 (diff)
radv/image: drop blk_d
This was pretty much unused. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_image.c')
-rw-r--r--src/amd/vulkan/radv_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index 24f36203041..c6261d320bd 100644
--- a/src/amd/vulkan/radv_image.c
+++ b/src/amd/vulkan/radv_image.c
@@ -70,7 +70,6 @@ radv_init_surface(struct radv_device *device,
surface->blk_w = vk_format_get_blockwidth(pCreateInfo->format);
surface->blk_h = vk_format_get_blockheight(pCreateInfo->format);
- surface->blk_d = 1;
surface->bpe = vk_format_get_blocksize(pCreateInfo->format);
/* align byte per element on dword */