2022-03-19 03:14:55 -04:00
|
|
|
#ifndef HEADER_GE_VULKAN_FEATURES_HPP
|
|
|
|
#define HEADER_GE_VULKAN_FEATURES_HPP
|
|
|
|
|
|
|
|
#include "vulkan_wrapper.h"
|
|
|
|
|
|
|
|
namespace GE
|
|
|
|
{
|
|
|
|
class GEVulkanDriver;
|
|
|
|
namespace GEVulkanFeatures
|
|
|
|
{
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void init(GEVulkanDriver*);
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
void printStats();
|
|
|
|
// ----------------------------------------------------------------------------
|
2022-03-20 01:35:22 -04:00
|
|
|
bool supportsBindTexturesAtOnce();
|
|
|
|
// ----------------------------------------------------------------------------
|
2022-04-19 00:49:05 -04:00
|
|
|
bool supportsRGBA8Blit();
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsR8Blit();
|
|
|
|
// ----------------------------------------------------------------------------
|
2022-03-19 03:14:55 -04:00
|
|
|
bool supportsDescriptorIndexing();
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsNonUniformIndexing();
|
|
|
|
// ----------------------------------------------------------------------------
|
2022-03-19 04:09:32 -04:00
|
|
|
bool supportsDifferentTexturePerDraw();
|
|
|
|
// ----------------------------------------------------------------------------
|
2022-03-19 03:14:55 -04:00
|
|
|
bool supportsPartiallyBound();
|
2022-07-21 00:26:06 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsBindMeshTexturesAtOnce();
|
2022-07-23 02:02:37 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsMultiDrawIndirect();
|
2022-08-01 12:25:36 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsBaseVertexRendering();
|
2022-08-03 22:56:29 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsComputeInMainQueue();
|
2022-08-05 21:48:11 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool supportsS3TCBC3();
|
2022-03-19 03:14:55 -04:00
|
|
|
}; // GEVulkanFeatures
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|