If enabled clip-planes have changed, we need to mark program state
dirty.
Signed-off-by: Rob Clark <robdclark@gmail.com>
if (last_key->half_precision != key->half_precision)
ctx->dirty |= FD_SHADER_DIRTY_FP;
+ if (last_key->ucp_enables != key->ucp_enables)
+ ctx->dirty |= FD_SHADER_DIRTY_FP | FD_SHADER_DIRTY_VP;
+
fd3_ctx->last_key = *key;
}
}
if (last_key->rasterflat != key->rasterflat)
ctx->dirty |= FD_SHADER_DIRTY_FP;
+ if (last_key->ucp_enables != key->ucp_enables)
+ ctx->dirty |= FD_SHADER_DIRTY_FP | FD_SHADER_DIRTY_VP;
+
fd4_ctx->last_key = *key;
}
}