diff options
author | Jason Ekstrand <[email protected]> | 2015-11-18 12:25:11 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-11-18 12:26:57 -0800 |
commit | 6f613abc2bf8fc3cf70c51a1d569bc4eb9dd18af (patch) | |
tree | 385449eaca9ed3158c582bd96b47a2ec5246197f /src/vulkan/anv_private.h | |
parent | fb8b2f5f9e029fdaaf78cac4b7f72084c4ae4ea2 (diff) |
anv/cmd_buffer: Add a new genX_cmd_buffer file for shared code
This file contains code that can be shared across gens modulo recompiling.
In particular, we can share STATE_BASE_ADDRESS setup and handling of the
vkPipelineBarrier call. Not sharing STATE_BASE_ADDRESS setup has already
been a source of bugs and the gen7 and gen8 implementations of
PipelineBarrier were line-for-line identical.
Incidentally, this should fix MOCS settings for dynamic and surface state
on Haswell.
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index fa6d48f7481..9f76363c764 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1064,6 +1064,7 @@ void gen8_cmd_buffer_emit_viewport(struct anv_cmd_buffer *cmd_buffer); void gen7_cmd_buffer_emit_scissor(struct anv_cmd_buffer *cmd_buffer); void gen7_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer); +void gen75_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer); void gen8_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer); void anv_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer); |