mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 00:10:33 +01:00
i965: force zero in clipper to ignore RTAIndex on sandybridge
This commit is contained in:
parent
41c31c2ebd
commit
03218a0093
2 changed files with 2 additions and 0 deletions
|
|
@ -930,6 +930,7 @@
|
|||
/* DW3 */
|
||||
# define GEN6_CLIP_MIN_POINT_WIDTH_SHIFT 17
|
||||
# define GEN6_CLIP_MAX_POINT_WIDTH_SHIFT 6
|
||||
# define GEN6_CLIP_FORCE_ZERO_RTAINDEX (1 << 5)
|
||||
|
||||
#define CMD_3D_SF_STATE 0x7813 /* GEN6+ */
|
||||
/* DW1 */
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ upload_clip_state(struct brw_context *brw)
|
|||
GEN6_CLIP_XY_TEST |
|
||||
depth_clamp |
|
||||
provoking);
|
||||
OUT_BATCH(GEN6_CLIP_FORCE_ZERO_RTAINDEX);
|
||||
OUT_BATCH(0);
|
||||
ADVANCE_BATCH();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue