anv/formats: Add fields for block dimensions
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 29 Sep 2015 00:42:39 +0000 (17:42 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 9 Nov 2015 23:41:41 +0000 (15:41 -0800)
commit7b4244dea02c38c194def5ff05636e09124cd6b7
treea00052c42cc865423e5a15d05ef8e936d2a8bdfa
parenta6c7d1e016545c05b64bacf4dd87a354a6c9cd58
anv/formats: Add fields for block dimensions

A non-compressed texture is a 1x1x1 block. Compressed
textures could have values which vary in different
dimensions WxHxD.

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/vulkan/anv_formats.c
src/vulkan/anv_private.h