view_info[i].view = demo->textures[i].view,
view_info[i].layout = VK_IMAGE_LAYOUT_GENERAL;
- combined_info[i].pSampler = demo->textures[i].sampler;
+ combined_info[i].sampler = demo->textures[i].sampler;
combined_info[i].pImageView = &view_info[i];
}
view_info[i].view = demo->textures[i].view,
view_info[i].layout = VK_IMAGE_LAYOUT_GENERAL;
- combined_info[i].pSampler = demo->textures[i].sampler;
+ combined_info[i].sampler = demo->textures[i].sampler;
combined_info[i].pImageView = &view_info[i];
}
#include "vkPlatform.h"
// Vulkan API version supported by this file
-#define VK_API_VERSION VK_MAKE_VERSION(0, 69, 0)
+#define VK_API_VERSION VK_MAKE_VERSION(0, 70, 0)
#ifdef __cplusplus
extern "C"
typedef struct _VK_SAMPLER_IMAGE_VIEW_INFO
{
- VK_SAMPLER pSampler;
+ VK_SAMPLER sampler;
const VK_IMAGE_VIEW_ATTACH_INFO* pImageView;
} VK_SAMPLER_IMAGE_VIEW_INFO;
break;
case VK_STRUCTURE_TYPE_UPDATE_SAMPLER_TEXTURES:
pUST = (VK_UPDATE_SAMPLER_TEXTURES*)pSet->ppDescriptors[i];
- pSCI = getSamplerCreateInfo(pUST->pSamplerImageViews[i-pUST->arrayIndex].pSampler);
+ pSCI = getSamplerCreateInfo(pUST->pSamplerImageViews[i-pUST->arrayIndex].sampler);
if (pSCI) {
sprintf(tmp_str, "SAMPLER%u", i);
fprintf(pOutFile, "%s", vk_gv_print_vk_sampler_create_info(pSCI, tmp_str));