diff options
author | Jason Ekstrand <[email protected]> | 2017-02-20 11:03:04 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-02-21 12:26:35 -0800 |
commit | 075ed20614e91110322aadff44dbd4c1ca2422e8 (patch) | |
tree | 6fcf79e2bdf8e5ae2ac8a9a1e0ff62ea201e690b /src/mesa/drivers | |
parent | b6b03329afc4755399d830f34c399a36a1097aaf (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]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_blorp_exec.c | 8 |
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); |