anv/gen9: Teach gen9_image_view_init() about 1D surface qpitch
authorChad Versace <chad.versace@intel.com>
Tue, 5 Jan 2016 22:35:52 +0000 (14:35 -0800)
committerChad Versace <chad.versace@intel.com>
Wed, 6 Jan 2016 17:38:57 +0000 (09:38 -0800)
commit8284786c5d2468521dddab25b6685487f3ede262
tree603cfb693b1aa6a94cd940a07d6ce365758b1531
parente05b3079429a9e5446194d2a9f3fcea2004a5c8c
anv/gen9: Teach gen9_image_view_init() about 1D surface qpitch

QPitch is usually expressed as rows of surface elements (where a surface
element is an compression block or a single surface sample. Skylake 1D
is an outlier; there QPitch is expressed as individual surface
elements.
src/vulkan/gen8_state.c