projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a4885
)
anv/pipeline: Add a default L3$ setup
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 23 Jan 2016 03:02:55 +0000
(19:02 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 23 Jan 2016 03:02:55 +0000
(19:02 -0800)
src/vulkan/anv_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_cmd_buffer.c
b/src/vulkan/anv_cmd_buffer.c
index 4591dd95fec3626954dfebe227c2b8737b00828f..fe85e3e164e2b0595601a1f176803279bf47a9ea 100644
(file)
--- a/
src/vulkan/anv_cmd_buffer.c
+++ b/
src/vulkan/anv_cmd_buffer.c
@@
-237,6
+237,9
@@
static VkResult anv_create_cmd_buffer(
cmd_buffer->level = level;
cmd_buffer->state.attachments = NULL;
+ /* 0 isn't a valid config. This ensures that we always configure L3$. */
+ cmd_buffer->state.current_l3_config = 0;
+
result = anv_cmd_buffer_init_batch_bo_chain(cmd_buffer);
if (result != VK_SUCCESS)
goto fail;