diff options
author | Jason Ekstrand <[email protected]> | 2016-01-22 19:02:55 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-22 19:02:55 -0800 |
commit | 0b6c1275d02fd9a20ea627bcf43dc9381e96bc87 (patch) | |
tree | 58ffd73aa503370621c5370b7e84740e6f5518ab /src/vulkan | |
parent | 99a48853289372b0709dfe67367d6f339639e35e (diff) |
anv/pipeline: Add a default L3$ setup
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/anv_cmd_buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index 4591dd95fec..fe85e3e164e 100644 --- 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; |