mesa/src/intel
Paulo Zanoni eb6352162d intel/compiler: fix nir_op_{i,u}*32 on ICL
On ICL we have the src1 restriction which is applied through
fix_byte_src() and potentially changes the type of the operands from 8
to 32 bits. When this change happens, we fall into the "else if
(bit_size < 32)" case and miscompute src_type because it takes into
consideration bit_size (8) instead of the adjusted size of temp_op
(32). This results in the shader reading unused memory, giving us
mostly failures, but occasional passes due to whatever was already in
the registers we were reading.

This commit fixes a lot of dEQP subgroup i8vec2 tests on ICL, such as:
    dEQP-VK.subgroups.arithmetic.compute.subgroupadd_i8vec2

This can also be verified by simply changing fix_byte_src() to apply
on all platforms.

Fixes: 5847de6e9a ("intel/compiler: don't use byte operands for src1 on ICL")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2019-11-13 22:13:52 +00:00
..
blorp intel/blorp: Fix usage of uninitialized memory in key hashing 2019-11-12 13:59:29 +02:00
common intel/gen_decoder: Fix unused-but-set-variable warning 2019-11-07 11:32:55 +11:00
compiler intel/compiler: fix nir_op_{i,u}*32 on ICL 2019-11-13 22:13:52 +00:00
dev intel/dev: set default num_eu_per_subslice on gen12 2019-10-30 22:30:09 +00:00
genxml intel/genxml: Add gen12 tile cache flush bit 2019-10-30 19:51:03 +00:00
isl intel/isl: Add MOCS settings to isl_device. 2019-11-12 20:41:52 +00:00
perf intel/perf: add TGL support 2019-10-31 09:13:20 +00:00
tools intel/dump_gpu: handle context create extended ioctl 2019-10-30 21:58:31 +02:00
vulkan anv: Initialize depth_bounds_test_enable when not explicitly set 2019-11-13 10:13:27 -08:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02: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 drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
Android.genxml.mk intel/genxml: generate pack files for gen12 on android builds 2019-08-28 13:38:33 -07:00
Android.isl.mk intel/isl: build android libmesa_isl for gen12 2019-08-28 13:38:33 -07:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk anv: implement VK_INTEL_performance_query 2019-10-23 05:41:15 +00:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources intel/perf: fix Android build 2019-10-31 11:20:30 +00:00
meson.build i965: extract performance query metrics 2019-04-17 14:10:42 +01:00