[Mesa-dev] [PATCH 8/8] anv: Properly call gen75_emit_state_base_address on Haswell.
Kenneth Graunke
kenneth at whitecape.org
Tue Jul 19 01:04:27 UTC 2016
This should fix MOCS values. Caught by Coverity.
CID: 1364155
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/intel/vulkan/anv_cmd_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c
index 6256df8..380260a 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:
--
2.9.0
More information about the mesa-dev
mailing list