mesa/src/vulkan
Chad Versace 37d6e04ba1 vk/formats: Remove the cpp=0 stencil hack
The format table defined cpp = 0 for stencil-only formats. The real cpp
is 1.

When code begins to lie, especially about stencil buffers, code becomes
increasingly fragile as time progresses, and the damage becomes
increasingly hard to undo. (For precedent, see the painful history of
stencil buffer cpp in the git log for gen6 and gen7 in the i965 driver).
Let's undo the stencil buffer cpp lie now to avoid future pain.

In the format table, set cpp = 1 for VK_FORMAT_S8; replace checks for
cpp == 0; and delete all comments about the hack.
2015-06-26 09:58:22 -07:00
..
.gitignore
allocator.c
aub.c
aub.h
compiler.cpp vk/compiler: Add the initial hacks to get SPIR-V up and going 2015-06-25 17:36:35 -07:00
device.c vk/image: Add qpitch fields to anv_depth_stencil_view 2015-06-25 20:10:16 -07:00
formats.c vk/formats: Remove the cpp=0 stencil hack 2015-06-26 09:58:22 -07:00
gem.c
gen7_pack.h vk/headers: Handle MBO fields 2015-06-24 09:37:50 -07:00
gen8_pack.h vk/headers: Handle MBO fields 2015-06-24 09:37:50 -07:00
gen75_pack.h vk/headers: Handle MBO fields 2015-06-24 09:37:50 -07:00
glsl_scraper.py
image.c vk/formats: Remove the cpp=0 stencil hack 2015-06-26 09:58:22 -07:00
intel.c
Makefile.am
meta.c
pipeline.c vk/formats: Rename anv_format::format -> surface_format 2015-06-25 20:10:16 -07:00
private.h vk: Fix comment for anv_depth_stencil_view::stencil_qpitch 2015-06-26 07:31:57 -07:00
query.c
util.c vk/util: Add anv_loge() for logging error messages 2015-06-25 16:52:16 -07:00
vk_gen.py
x11.c