mesa/src/intel
Danylo Piliaiev 00fc56a68d anv: Disable dual source blending when shader doesn't support it on gen8+
Dual source blending behaviour is undefined when shader doesn't
have second color output.

 "If SRC1 is included in a src/dst blend factor and
  a DualSource RT Write message is not used, results
  are UNDEFINED. (This reflects the same restriction in DX APIs,
  where undefined results are produced if “o1” is not written
  by a PS – there are no default values defined)."

Dismissing fragment in such situation leads to a hang on gen8+
if depth test in enabled.

Since blending cannot be gracefully fixed in such case and the result
is undefined - blending is simply disabled.

v2 (Jason Ekstrand):
 - Apply the workaround to each individual entry
 - Emit a warning through debug_report

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2018-10-30 12:59:53 -07:00
..
blorp blorp: Emit a dummy 3DSTATE_WM prior to 3DSTATE_WM_HZ_OP 2018-10-26 16:39:35 -05:00
common intel/decoder: Use 'DWord Length' and 'bias' fields for packet length. 2018-10-30 12:43:00 +00:00
compiler intel/nir: Use the OPT macro for more passes 2018-10-26 11:45:29 -05: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 aub_viewer: show vertex buffer pitch 2018-10-30 18:10:59 +00:00
vulkan anv: Disable dual source blending when shader doesn't support it on gen8+ 2018-10-30 12:59:53 -07: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