anv/pipeline: Fix setting per sample shading in pixel shader
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 28 Jul 2016 16:36:26 +0000 (09:36 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 28 Jul 2016 20:11:12 +0000 (13:11 -0700)
commit0f94cdc976256529afe8047f566dfd23df449ac2
tree7ceb498dc7f1f830e66c7e3877b8b8a4641082d0
parent9ee683f877b283020c6f24776236f1145cb7a4ea
anv/pipeline: Fix setting per sample shading in pixel shader

We should use the persample_dispatch variable in prog_data.

Fixes all (~60) the DEQP sample shading tests. Many tests exited with
VK_ERROR_OUT_OF_DEVICE_MEMORY without this patch.

V2: Use the shader key bits set in brw_compile_fs (Jason)

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/gen8_pipeline.c