aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/genX_blorp_exec.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-02-20 11:03:04 -0800
committerEmil Velikov <[email protected]>2017-03-01 13:34:41 +0000
commite7a8f2e908e89877fd98faf1837d350e69cca7de (patch)
treeff38f455b94fa7acf425efc00964f250f3c8fb5f /src/mesa/drivers/dri/i965/genX_blorp_exec.c
parentc23c6db9aa232de6934ec654d815e808a9895fe2 (diff)
intel/blorp: Explicitly flush all allocated state
Found by inspection. However, I expect it fixes real bugs when using blorp from Vulkan on little-core platforms. Reviewed-by: Lionel Landwerlin <[email protected]> Cc: "13.0 17.0" <[email protected]> (cherry picked from commit 075ed20614e91110322aadff44dbd4c1ca2422e8)
Diffstat (limited to 'src/mesa/drivers/dri/i965/genX_blorp_exec.c')
-rw-r--r--src/mesa/drivers/dri/i965/genX_blorp_exec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
index 37b29cd9f54..8e011e98cec 100644
--- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
+++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
@@ -145,6 +145,14 @@ blorp_alloc_vertex_buffer(struct blorp_batch *batch, uint32_t size,
}
static void
+blorp_flush_range(struct blorp_batch *batch, void *start, size_t size)
+{
+ /* All allocated states come from the batch which we will flush before we
+ * submit it. There's nothing for us to do here.
+ */
+}
+
+static void
blorp_emit_urb_config(struct blorp_batch *batch, unsigned vs_entry_size)
{
assert(batch->blorp->driver_ctx == batch->driver_batch);