OSDN Git Service

anv/gen7_pipeline: Set PixelShaderKillPixel for discards
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 4 Aug 2016 22:47:23 +0000 (15:47 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 09:06:23 +0000 (10:06 +0100)
commitf20168723f66cbdda086d1b9bfe80a9cbc6b35db
tree76d7cd18253e1546c1e7fe5788406efe042c0536
parent6980f686d03b5d7bb7d836f94294bdc2b7cac264
anv/gen7_pipeline: Set PixelShaderKillPixel for discards

According to the IVB PRM Vol2 P1, this bit must be set if a pixel shader
contains a discard instruction.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97207
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit c495c18b24d6ea5ba346709daf673e2037172a39)
src/intel/vulkan/gen7_pipeline.c