anv: Don't allow D16_UNORM to be combined with stencil
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 Mar 2016 17:13:44 +0000 (09:13 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 Mar 2016 17:59:28 +0000 (09:59 -0800)
commit7c1660aa14094e40fba9f39ce194cb6238311b65
tree13e7ccb94764e4549617ea025f87deefd913dc20
parent9a90176d488c00700cbd832a6a2d53a78114a21e
anv: Don't allow D16_UNORM to be combined with stencil

Among other things, this can cause the depth or stencil test to spurriously
fail when the fragment shader uses discard.
src/intel/vulkan/anv_formats.c
src/intel/vulkan/genX_cmd_buffer.c