mesa/src/intel
Alex Smith 3bd239f71d anv: Fix sanitization of stencil state when the depth test is disabled
When depth testing is disabled, we shouldn't pay attention to the
specified depthCompareOp, and just treat it as always passing. Before,
if the depth test is disabled, but depthCompareOp is VK_COMPARE_OP_NEVER
(e.g. from the app having zero-initialized the structure), then
sanitize_stencil_face() would have incorrectly changed passOp to
VK_STENCIL_OP_KEEP.

v2: Roll the depthTestEnable check into the ds_aspect check below since
    they now both do the same thing.

Fixes: 028e1137e6 "anv/pipeline: Be smarter about depth/stencil state"
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2018-10-26 10:25:40 +01:00
..
blorp intel/isl: Add a unit suffixes to some struct fields and variables 2018-09-26 08:52:26 -05:00
common util: use C99 declaration in the for-loop hash_table_foreach() macro 2018-10-25 12:43:18 +01:00
compiler intel/compiler: Print message descriptor as immediate source 2018-10-26 06:42:14 +02:00
dev intel: Introducing Whiskey Lake platform 2018-10-11 10:02:40 -07:00
genxml anv/icl: Set Enabled Texel Offset Precision Fix bit 2018-09-21 14:40:04 -07:00
isl intel/isl: Add a unit suffixes to some struct fields and variables 2018-09-26 08:52:26 -05:00
tools util: use C99 declaration in the for-loop hash_table_foreach() macro 2018-10-25 12:43:18 +01:00
vulkan anv: Fix sanitization of stencil state when the depth test is disabled 2018-10-26 10:25:40 +01:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: link libmesa_intel_common with zlib and expat 2017-08-02 10:30:50 +03:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.dev.mk android: Use local i915_drm.h rather than the system one. 2018-03-23 10:05:02 -07:00
Android.genxml.mk intel/genxml/icl: Generate packing headers 2018-02-15 16:14:55 -08:00
Android.isl.mk intel/isl/icl: Build and use gen11 surface state emit functions 2018-02-15 16:14:55 -08:00
Android.mk intel: Add missing includes for building on Android 2018-03-06 00:14:22 -08:00
Android.vulkan.mk anv/android: we need git_sha1.h in include paths 2018-10-12 07:29:03 +03:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.blorp.am blorp: automake: add TODO to the tarball 2017-02-24 17:37:00 +00:00
Makefile.common.am automake: intel: correctly append to the LIBADD variable 2017-11-08 14:23:57 +00:00
Makefile.compiler.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.dev.am intel: Split gen_device_info out into libintel_dev 2018-03-05 09:47:37 -08:00
Makefile.genxml.am intel: genxml: automake: include gen_bits_header.py in the tarball 2017-04-05 13:16:28 +01:00
Makefile.isl.am intel/isl: Add format conversion code 2018-05-09 11:16:33 -07:00
Makefile.sources intel/compiler: Do image load/store lowering to NIR 2018-08-29 14:04:02 -05:00
Makefile.tools.am intel/tools: new i965_disasm tool 2018-08-29 11:19:55 -07:00
Makefile.vulkan.am intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00
meson.build intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00