diff options
author | Sagar Ghuge <[email protected]> | 2019-03-06 17:05:23 -0800 |
---|---|---|
committer | Sagar Ghuge <[email protected]> | 2019-03-08 10:01:39 -0800 |
commit | bca28deb46235cae3079dba29c5a62cf2168e4b3 (patch) | |
tree | a29a635da01dfd9fda294ccce8225c64e1d4c75c /src/gallium/drivers/iris/iris_context.h | |
parent | d0a8fba69a300824ac83c8dad7985fe31885aef3 (diff) |
iris: Track last VS URB entry size
Return immediately if last VS URB entry size is good enough for BLORP
operation
v2: Fix comments (Caio)
Signed-off-by: Sagar Ghuge <[email protected]>
Suggested-by: Kenneth Graunke<[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index d4f88f2a907..8f91d28446f 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -502,6 +502,9 @@ struct iris_context { unsigned urb_size; + /* Track last VS URB entry size */ + unsigned last_vs_entry_size; + /** * Scratch buffers for various sizes and stages. * |