intel/blorp: Emit a dummy 3DSTATE_VF_SGVS_2
authorJason Ekstrand <jason@jlekstrand.net>
Sun, 15 Dec 2019 05:10:44 +0000 (23:10 -0600)
committerMarge Bot <emma+marge@anholt.net>
Tue, 13 Dec 2022 19:22:02 +0000 (19:22 +0000)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20295>

src/intel/blorp/blorp_genX_exec.h

index 2cb8fb0..9df8905 100644 (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;