diff options
author | Kenneth Graunke <[email protected]> | 2014-11-08 02:34:43 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-11-27 20:25:24 -0800 |
commit | 133280120b4bc714bbb7665e383f36ab262c280a (patch) | |
tree | e969c54ade347d76002238c96dbc0e665ad059a8 /src/mesa/drivers/dri/i965/gen6_depthstencil.c | |
parent | 06372c3fa9940b6ebbc03ebb2cdfdedc87076cc0 (diff) |
i965: Set prog_data->uses_kill if simulating alpha test via discards.
When using MRT on Gen4-5, we have to simulate GL's alpha test feature
by emitting discards in the fragment shader. In this case, it makes
sense to set prog_data->uses_kill, which means the fragment shader may
kill pixels via the discard mechanism.
This saves us from having to look an extra key value in a couple of
places, including in the generator.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_depthstencil.c')
0 files changed, 0 insertions, 0 deletions