[Mesa-dev] [PATCH 2/3] i965: Port 3DSTATE_VF to genxml and simplify the implementation.
Emil Velikov
emil.l.velikov at gmail.com
Thu May 4 15:51:43 UTC 2017
Hi Ken,
On 4 May 2017 at 16:13, Kenneth Graunke <kenneth at whitecape.org> wrote:
> +#if GEN_IS_HASWELL || GEN_GEN >= 8
> +static void
> +genX(upload_cut_index)(struct brw_context *brw)
> +{
> + const struct gl_context *ctx = &brw->ctx;
> +
> + brw_batch_emit(brw, GENX(3DSTATE_VF), vf) {
> + if (ctx->Array._PrimitiveRestart && brw->ib.ib) {
> + vf.IndexedDrawCutIndexEnable = true;
Original code explicitly disables the cut index, which is no longer done here.
I take it that is was not required to begin with?
-Emil
P.S. Pardon if my question comes a bit silly.
More information about the mesa-dev
mailing list