anv/cmd_buffer: Actually use the stencil dimension
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Nov 2016 22:00:39 +0000 (14:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Dec 2016 01:42:42 +0000 (17:42 -0800)
commit27433b26b197b8b69d4ca8c9aed567f04950648e
treee4bfcf52dc0ff33c7a2d9a11bfa260ca26afd401
parentef59cb0820c5542af9d62721a51c7f7256155069
anv/cmd_buffer: Actually use the stencil dimension

In an attempt to fix 3DSTATE_DEPTH_BUFFER for stencil-only cases, I
accidentally kept setting the SurfaceType to 2D in the stencil-only case
thanks to a copy+paste error.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/genX_cmd_buffer.c