summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/genX_cmd_buffer.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2017-08-25 09:55:39 +0300
committerTapani Pälli <[email protected]>2017-09-12 09:42:00 +0300
commitd083bc1c4b162ae23495fd9236d5fba27c04075b (patch)
tree25f35781e785b05c2e971b318f1f8954ba135688 /src/intel/vulkan/genX_cmd_buffer.c
parent73638be11f4fbb016f6c6d2934134c0d2455d798 (diff)
anv: wire up vk_errorf macro to do debug reporting
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_cmd_buffer.c')
-rw-r--r--src/intel/vulkan/genX_cmd_buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index 67fc3f33df6..a16f67b108c 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -2492,7 +2492,8 @@ verify_cmd_parser(const struct anv_device *device,
const char *function)
{
if (device->instance->physicalDevice.cmd_parser_version < required_version) {
- return vk_errorf(VK_ERROR_FEATURE_NOT_PRESENT,
+ return vk_errorf(device->instance, device->instance,
+ VK_ERROR_FEATURE_NOT_PRESENT,
"cmd parser version %d is required for %s",
required_version, function);
} else {