Skip to content

Commit

Permalink
remove some features
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNumbat committed Jan 15, 2024
1 parent 87e6b60 commit 87ee98d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rvk/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ static VkPhysicalDeviceFeatures2* baseline_features(bool ray_tracing) {
vk12_features.drawIndirectCount = VK_TRUE;
vk12_features.storageBuffer8BitAccess = VK_TRUE;
vk12_features.uniformAndStorageBuffer8BitAccess = VK_TRUE;
vk12_features.storagePushConstant8 = VK_TRUE;
vk12_features.shaderBufferInt64Atomics = VK_TRUE;
vk12_features.shaderSharedInt64Atomics = VK_TRUE;
vk12_features.shaderFloat16 = VK_TRUE;
Expand All @@ -86,14 +85,12 @@ static VkPhysicalDeviceFeatures2* baseline_features(bool ray_tracing) {
vk12_features.bufferDeviceAddress = VK_TRUE;
vk12_features.vulkanMemoryModel = VK_TRUE;
vk12_features.vulkanMemoryModelDeviceScope = VK_TRUE;
vk12_features.vulkanMemoryModelAvailabilityVisibilityChains = VK_TRUE;

static VkPhysicalDeviceVulkan11Features vk11_features = {};
vk11_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES;
vk11_features.pNext = &vk12_features;
vk11_features.storageBuffer16BitAccess = VK_TRUE;
vk11_features.uniformAndStorageBuffer16BitAccess = VK_TRUE;
vk11_features.storagePushConstant16 = VK_TRUE;
vk11_features.variablePointersStorageBuffer = VK_TRUE;
vk11_features.variablePointers = VK_TRUE;

Expand Down

0 comments on commit 87ee98d

Please sign in to comment.