diff options
author | Kenneth Graunke <[email protected]> | 2013-11-06 00:33:14 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-11-07 00:17:53 -0800 |
commit | c6a3fb69c6a0d993f111518f12b34dde3925c190 (patch) | |
tree | a842903166428a3ba6706a0f65882b3d991fc3c3 /src/mesa/tnl/t_vb_program.c | |
parent | 110009302bddb4c42a5b3ed5ca451d6bb50a06a0 (diff) |
i965: Use has_surface_tile_offset in depth/stencil alignment workaround.
Currently, has_surface_tile_offset is equivalent to gen == 4 && !is_g4x.
We already use it for related checks in brw_wm_surface_state.c, so it
makes sense to use it here too. It's simpler and more future-proof.
Broadwell also lacks surface tile offsets. With this patch, I won't
need to update any generation checking; I can simply not set the flag.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
0 files changed, 0 insertions, 0 deletions