forked from Dynamitos/Seele
Compatibility changes with macos
This commit is contained in:
1 parent
4eacda2ae0
commit
4a66b5d18d
7 files changed
+16
-25
No files matched your search
@@ -754,11 +754,11 @@ void Graphics::pickPhysicalDevice() {
|
||||
|
||||
vkGetPhysicalDeviceProperties2(physicalDevice, &props.get());
|
||||
features.get<VkPhysicalDeviceFeatures2>().features = {
|
||||
.geometryShader = true,
|
||||
.geometryShader = false,
|
||||
.sampleRateShading = true,
|
||||
.fillModeNonSolid = true,
|
||||
.wideLines = true,
|
||||
.pipelineStatisticsQuery = true,
|
||||
.wideLines = false,
|
||||
.pipelineStatisticsQuery = false,
|
||||
.fragmentStoresAndAtomics = true,
|
||||
.shaderInt64 = true,
|
||||
.shaderInt16 = true,
|
||||
|
||||
@@ -53,7 +53,7 @@ struct StructChain<Helper<This, struct_type>, Right...> : StructChain<Right...>
|
||||
StructChain() {
|
||||
std::memset(&t, 0, sizeof(This));
|
||||
t.sType = struct_type;
|
||||
t.pNext = &StructChain<Right...>::template get();
|
||||
t.pNext = &StructChain<Right...>::get();
|
||||
}
|
||||
This t;
|
||||
template <chainable_struct Query> constexpr Query& get() {
|
||||
|
||||
Reference in new issue
Block a user