[Mesa-dev] [PATCH 12/14] i965: Make sure gl_fragment_program::UsesKill is set for GLSL shaders

Eric Anholt eric at anholt.net
Mon Jan 9 17:36:49 PST 2012


On Fri,  6 Jan 2012 16:50:03 -0800, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

Instead of making the compile process whack the assembly prog struct as
a side-effect, I think better would be to put uses_kill in the prog_data
during the GLSL and the ARB compile, and use that from the unit state.

(Long term, I've got a goal of moving the VS/WM state info to prog_data
output, so that when we detect identical compile results from different
shaders, we don't trigger state changes)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120109/d64aa77b/attachment.pgp>


More information about the mesa-dev mailing list