-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1401,25 +1401,25 @@ void DispatchGetDescriptorEXT(VkDevice device, const VkDescriptorGetInfoEXT *pDe | |
case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: | ||
if (pDescriptorInfo->data.pUniformTexelBuffer) { | ||
address_info.initialize(pDescriptorInfo->data.pUniformTexelBuffer); | ||
local_pDescriptorInfo.data.pUniformTexelBuffer = &address_info; | ||
local_pDescriptorInfo.data.pUniformTexelBuffer = address_info.ptr(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
spencer-lunarg
Author
Contributor
|
||
} | ||
break; | ||
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: | ||
if (pDescriptorInfo->data.pStorageTexelBuffer) { | ||
address_info.initialize(pDescriptorInfo->data.pStorageTexelBuffer); | ||
local_pDescriptorInfo.data.pStorageTexelBuffer = &address_info; | ||
local_pDescriptorInfo.data.pStorageTexelBuffer = address_info.ptr(); | ||
} | ||
break; | ||
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: | ||
if (pDescriptorInfo->data.pUniformBuffer) { | ||
address_info.initialize(pDescriptorInfo->data.pUniformBuffer); | ||
local_pDescriptorInfo.data.pUniformBuffer = &address_info; | ||
local_pDescriptorInfo.data.pUniformBuffer = address_info.ptr(); | ||
} | ||
break; | ||
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: | ||
if (pDescriptorInfo->data.pStorageBuffer) { | ||
address_info.initialize(pDescriptorInfo->data.pStorageBuffer); | ||
local_pDescriptorInfo.data.pStorageBuffer = &address_info; | ||
local_pDescriptorInfo.data.pStorageBuffer = address_info.ptr(); | ||
} | ||
break; | ||
case VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR: | ||
|
ANGLE/Chromium build isn't happy with this change.
https://ci.chromium.org/ui/p/angle/builders/try/mac-test/18579/overview
../../third_party/vulkan-deps/vulkan-validation-layers/src/layers/chassis/layer_chassis_dispatch_manual.cpp:1404:79: error: incompatible pointer types assigning to 'safe_VkDescriptorAddressInfoEXT *' from 'VkDescriptorAddressInfoEXT *'
@cnorthrop