aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_depthstencil.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-11-08 02:34:43 -0800
committerKenneth Graunke <[email protected]>2014-11-27 20:25:24 -0800
commit133280120b4bc714bbb7665e383f36ab262c280a (patch)
treee969c54ade347d76002238c96dbc0e665ad059a8 /src/mesa/drivers/dri/i965/gen6_depthstencil.c
parent06372c3fa9940b6ebbc03ebb2cdfdedc87076cc0 (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