intel/blorp: Emit a dummy 3DSTATE_VF_SGVS_2

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20295>
This commit is contained in:
Jason Ekstrand 2019-12-14 23:10:44 -06:00 committed by Marge Bot
parent 9859413bf4
commit 2680e32f71

View file

@ -593,6 +593,10 @@ blorp_emit_vertex_elements(struct blorp_batch *batch,
sgvs.InstanceIDElementOffset = 0;
}
#if GFX_VER >= 11
blorp_emit(batch, GENX(3DSTATE_VF_SGVS_2), sgvs);
#endif
for (unsigned i = 0; i < num_elements; i++) {
blorp_emit(batch, GENX(3DSTATE_VF_INSTANCING), vf) {
vf.VertexElementIndex = i;