anv,iris: Set 3DSTATE_SF::DerefBlockSize to per-poly on Gen12+
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 16 Jan 2020 23:59:43 +0000 (17:59 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 31 Jan 2020 00:45:52 +0000 (18:45 -0600)
commite1bdb127b6875df602bd736465d597725f326621
treec7772845ab6bf4a787f05af3a07fcb7bf78efbe9
parent9da9abf8a7a605cc9b79bd4240ff715b79ac774a
anv,iris: Set 3DSTATE_SF::DerefBlockSize to per-poly on Gen12+

According to the BSpec, this should prevent hangs when using shaders
with large URB entries.  A more precise fix can be done but it requires
re-arranging URB setup.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3454>
src/gallium/drivers/iris/iris_state.c
src/intel/blorp/blorp_genX_exec.h
src/intel/vulkan/genX_pipeline.c