mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
965: disable clipping for now
This commit is contained in:
parent
94c2ab2895
commit
e039824757
1 changed files with 5 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ static void upload_clip_prog(struct brw_context *brw)
|
|||
key.do_flat_shading = (brw->attribs.Raster->flatshade);
|
||||
/* BRW_NEW_CLIP */
|
||||
key.nr_userclip = brw->attribs.Clip.nr; /* XXX */
|
||||
|
||||
#if 0
|
||||
key.clip_mode = BRW_CLIPMODE_NORMAL;
|
||||
|
||||
if (key.primitive == PIPE_PRIM_TRIANGLES) {
|
||||
|
|
@ -185,6 +187,9 @@ static void upload_clip_prog(struct brw_context *brw)
|
|||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
key.clip_mode = BRW_CLIPMODE_ACCEPT_ALL;
|
||||
#endif
|
||||
|
||||
if (!search_cache(brw, &key))
|
||||
compile_clip_prog( brw, &key );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue