printf("\tcount = %d\n", extension_count);
for (i=0; i< extension_count; i++) {
uint32_t major, minor, patch;
- char spec_version[64], extension_version[64];
+ char spec_version[64];
VkExtensionProperties const *ext_prop = &extension_properties[i];
if (i>0)
printf("%s\t", indent);
extract_version(ext_prop->specVersion, &major, &minor, &patch);
snprintf(spec_version, sizeof(spec_version), "%d.%d.%d", major, minor, patch);
- extract_version(ext_prop->version, &major, &minor, &patch);
- snprintf(extension_version, sizeof(extension_version), "%d.%d.%d", major, minor, patch);
- printf("%s: Vulkan version %s, extension version %s",
- ext_prop->extName, spec_version, extension_version);
+ printf("%s: extension version %s",
+ ext_prop->extName, spec_version);
}
printf("\n");
fflush(stdout);
{
DEBUG_MARKER_EXTENSION_NAME,
VK_MAKE_VERSION(0, 1, 0),
- VK_API_VERSION
}
};
if (pCB->state == CB_UPDATE_ACTIVE) {
updateCBTracking(cmdBuffer);
addCmd(pCB, CMD_PIPELINEBARRIER);
- get_dispatch_table(draw_state_device_table_map, cmdBuffer)->CmdPipelineBarrier(cmdBuffer, sourceStageMask, destStageMask, byRegion, memBarrierCount, ppMemBarriers);
+ get_dispatch_table(draw_state_device_table_map, cmdBuffer)->CmdPipelineBarrier(cmdBuffer, srcStageMask, destStageMask, byRegion, memBarrierCount, ppMemBarriers);
} else {
report_error_no_cb_begin(cmdBuffer, "vkCmdPipelineBarrier()");
}
ext_props.origin = origin;
ext_props.lib_name = lib_name;
- char spec_version[64], version[64];
+ char spec_version[64];
snprintf(spec_version, sizeof(spec_version), "%d.%d.%d",
VK_MAJOR(ext_props.info.specVersion),
VK_MINOR(ext_props.info.specVersion),
VK_PATCH(ext_props.info.specVersion));
- snprintf(version, sizeof(version), "%d.%d.%d",
- VK_MAJOR(ext_props.info.version),
- VK_MINOR(ext_props.info.version),
- VK_PATCH(ext_props.info.version));
loader_log(VK_DBG_REPORT_DEBUG_BIT, 0,
- "Global Extension: %s (%s) version %s, Vulkan version %s",
- ext_props.info.extName, lib_name, version, spec_version);
+ "Global Extension: %s (%s) version %s",
+ ext_props.info.extName, lib_name, spec_version);
loader_add_to_ext_list(ext_list, 1, &ext_props);
}
res = get_phys_dev_ext_props(physical_device, NULL, &count, extension_properties);
for (i = 0; i < count; i++) {
- char spec_version[64], version[64];
+ char spec_version[64];
memcpy(&ext_props.info, &extension_properties[i], sizeof(VkExtensionProperties));
VK_MAJOR(ext_props.info.specVersion),
VK_MINOR(ext_props.info.specVersion),
VK_PATCH(ext_props.info.specVersion));
- snprintf(version, sizeof(version), "%d.%d.%d",
- VK_MAJOR(ext_props.info.version),
- VK_MINOR(ext_props.info.version),
- VK_PATCH(ext_props.info.version));
loader_log(VK_DBG_REPORT_DEBUG_BIT, 0,
- "PhysicalDevice Extension: %s (%s) version %s, Vulkan version %s",
- ext_props.info.extName, lib_name, version, spec_version);
+ "PhysicalDevice Extension: %s (%s) version %s",
+ ext_props.info.extName, lib_name, spec_version);
loader_add_to_ext_list(ext_list, 1, &ext_props);
}
} else {
//TODO merge the info with the versions and convert string to int
props->abi_version = abi_versions;
props->impl_version = implementation_version;
- strncpy(props->info.description, description, sizeof(props->info.description));
+ strncpy((char *) props->info.description, description, sizeof(props->info.description));
props->info.description[sizeof(props->info.description) - 1] = '\0';
free(description);
if (is_implicit) {