mesa/src/gallium/drivers/iris
Jason Ekstrand aebca3961b iris: Fix handling of SIMD32 fragment shaders
The brw_wm_prog_data_dispatch_grf_start_reg and _prog_offset helpers
read the _NPixelDispatchEnable fields from 3DSTATE_PS to figure out
which bits to pull out of the prog data and stuff where.  Therefore,
they need to be called with the final set of _NPixelDispatchEnable bits
after we've done the workaround for SIMD32 and 16x MSAA.  Otherwise, if
you end up with a somewhat odd combination of enables, the GRF start reg
and KSP data ends up in the wrong slots.  In particular, running
SIMD32-only is broken but several other combinations are as well.

Fixes: 5445c176e2 "iris: Disable SIMD32 when using a 16x MSAA..."
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2019-08-03 22:24:40 +00:00
..
Android.mk android/iris: fix driinfo header filename 2019-04-23 22:25:17 -07:00
driinfo_iris.h iris: Enable the dual_color_blend_by_location driconf option. 2019-04-22 09:36:36 -07:00
iris_batch.c intel/common: provide common ioctl routine 2019-08-01 16:38:40 -07:00
iris_batch.h iris: Make an iris_batch_get_signal_syncpt() helper. 2019-06-26 09:49:01 -07:00
iris_binder.c iris: Handle binding table in the driver 2019-06-03 14:14:45 -07:00
iris_binder.h iris: little bits of compute basics 2019-02-21 10:26:09 -08:00
iris_blit.c iris: Use MI_COPY_MEM_MEM for tiny resource_copy_region calls. 2019-07-01 13:59:49 -07:00
iris_blorp.c iris: Minor tidying 2019-07-03 22:24:44 -07:00
iris_border_color.c iris: Destroy the border color pool 2019-02-21 10:26:10 -08:00
iris_bufmgr.c intel/common: provide common ioctl routine 2019-08-01 16:38:40 -07:00
iris_bufmgr.h iris: Add an explicit alignment parameter to iris_bo_alloc_tiled(). 2019-07-02 07:23:55 +00:00
iris_clear.c iris: Move iris_resolve_conditional_render to the vtable. 2019-07-25 18:42:55 +00:00
iris_context.c iris: Skip emitting 3DSTATE_INDEX_BUFFER if possible 2019-07-31 15:14:10 -07:00
iris_context.h iris: add support for gl_ClipVertex in tess eval shaders 2019-08-01 16:12:37 -07:00
iris_defines.h iris: Use gen_mi_builder to handle CS ALU operations. 2019-07-25 18:42:55 +00:00
iris_disk_cache.c intel/compiler: Add a "base class" for program keys 2019-07-10 19:35:55 +00:00
iris_draw.c iris: Use gen_mi_builder to handle CS ALU operations. 2019-07-25 18:42:55 +00:00
iris_fence.c intel/common: provide common ioctl routine 2019-08-01 16:38:40 -07:00
iris_fence.h iris: Make a iris_batch_reference_signal_syncpt helper function. 2019-02-21 10:26:11 -08:00
iris_formats.c gallium: switch boolean -> bool at the interface definitions 2019-07-22 22:13:51 -04:00
iris_genx_macros.h iris: Use gen_mi_builder to handle CS ALU operations. 2019-07-25 18:42:55 +00:00
iris_genx_protos.h iris: Make iris_query.c a genxml-compiled file. 2019-07-25 18:42:55 +00:00
iris_pipe.h iris: Make a gl_shader_stage -> pipe_shader_stage helper function 2019-04-23 00:24:08 -07:00
iris_pipe_control.c iris: Add maybe_flush calls to texture_barrier and memory_barrier 2019-06-20 13:32:15 -05:00
iris_program.c iris: add support for gl_ClipVertex in tess eval shaders 2019-08-01 16:12:37 -07:00
iris_program_cache.c intel/compiler: Add a "base class" for program keys 2019-07-10 19:35:55 +00:00
iris_query.c iris: Use gen_mi_builder to handle CS ALU operations. 2019-07-25 18:42:55 +00:00
iris_resolve.c iris: Allow resolving clear color of CCS_D surfaces. 2019-07-17 14:53:16 -07:00
iris_resource.c gallium: switch boolean -> bool at the interface definitions 2019-07-22 22:13:51 -04:00
iris_resource.h iris: Make iris_has_color_unresolved non-static 2019-07-17 13:43:04 -07:00
iris_screen.c iris: bump compat profile support to 4.6 2019-08-02 18:56:53 +10:00
iris_screen.h gallium: switch boolean -> bool at the interface definitions 2019-07-22 22:13:51 -04:00
iris_state.c iris: Fix handling of SIMD32 fragment shaders 2019-08-03 22:24:40 +00:00
Makefile.sources iris: Refactor genxml macros and inlines into iris_genx_macros.h. 2019-07-25 18:42:55 +00:00
meson.build iris: Make iris_query.c a genxml-compiled file. 2019-07-25 18:42:55 +00:00