diff options
author | Kenneth Graunke <[email protected]> | 2016-07-18 16:13:36 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-07-20 10:59:44 -0700 |
commit | e614062e548ae58f51082c2cf984c3141cf01ec9 (patch) | |
tree | 6dc0dca7f390e535cf877db9c6d3277d357ae723 | |
parent | 87660579f587dbb390cf89c3ce7f5ccdb5c6839e (diff) |
anv: Properly call gen75_emit_state_base_address on Haswell.
This should fix MOCS values. Caught by Coverity.
CID: 1364155
Cc: "12.0" <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/intel/vulkan/anv_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index 6256df8bd72..380260a330f 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -359,7 +359,7 @@ anv_cmd_buffer_emit_state_base_address(struct anv_cmd_buffer *cmd_buffer) switch (cmd_buffer->device->info.gen) { case 7: if (cmd_buffer->device->info.is_haswell) - return gen7_cmd_buffer_emit_state_base_address(cmd_buffer); + return gen75_cmd_buffer_emit_state_base_address(cmd_buffer); else return gen7_cmd_buffer_emit_state_base_address(cmd_buffer); case 8: |