i965: Don't use the GS for breaking down quads on Ivybridge.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
d58400eb4a
commit
fa4b23581b
|
@ -161,7 +161,7 @@ GLboolean brwCreateContext( int api,
|
||||||
but we're not sure how it's actually done for vertex order,
|
but we're not sure how it's actually done for vertex order,
|
||||||
that affect provoking vertex decision. Always use last vertex
|
that affect provoking vertex decision. Always use last vertex
|
||||||
convention for quad primitive which works as expected for now. */
|
convention for quad primitive which works as expected for now. */
|
||||||
if (intel->gen == 6)
|
if (intel->gen >= 6)
|
||||||
ctx->Const.QuadsFollowProvokingVertexConvention = GL_FALSE;
|
ctx->Const.QuadsFollowProvokingVertexConvention = GL_FALSE;
|
||||||
|
|
||||||
if (intel->is_g4x || intel->gen >= 5) {
|
if (intel->is_g4x || intel->gen >= 5) {
|
||||||
|
|
|
@ -56,7 +56,7 @@ static void compile_gs_prog( struct brw_context *brw,
|
||||||
/* Gen6: VF has already converted into polygon, and LINELOOP is
|
/* Gen6: VF has already converted into polygon, and LINELOOP is
|
||||||
* converted to LINESTRIP at the beginning of the 3D pipeline.
|
* converted to LINESTRIP at the beginning of the 3D pipeline.
|
||||||
*/
|
*/
|
||||||
if (intel->gen == 6)
|
if (intel->gen >= 6)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
memset(&c, 0, sizeof(c));
|
memset(&c, 0, sizeof(c));
|
||||||
|
@ -168,7 +168,7 @@ static void populate_key( struct brw_context *brw,
|
||||||
key->pv_first = GL_TRUE;
|
key->pv_first = GL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
key->need_gs_prog = (intel->gen == 6)
|
key->need_gs_prog = (intel->gen >= 6)
|
||||||
? 0
|
? 0
|
||||||
: (brw->primitive == GL_QUADS ||
|
: (brw->primitive == GL_QUADS ||
|
||||||
brw->primitive == GL_QUAD_STRIP ||
|
brw->primitive == GL_QUAD_STRIP ||
|
||||||
|
|
Loading…
Reference in New Issue