anv/pipeline: Add a default L3$ setup

This commit is contained in:
Jason Ekstrand
2016-01-22 19:02:55 -08:00
parent 99a4885328
commit 0b6c1275d0
+3
View File
@@ -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;