File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/Aardvark.Rendering.Vulkan/Core/Memory Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ type internal MemoryAllocator (device: IDevice) =
120
120
121
121
match tryCreateBuffer pBufferCreateInfo && allocationCreateInfo hostVisible alignment true with
122
122
| Result.Ok result -> result
123
- | Result.Error error ->
124
- Log.Vulkan.warn $" could not allocate memory for buffer (Error: {error})"
123
+ | Result.Error _ ->
125
124
& allocationCreateInfo.memoryTypeBits &&&= ~~~( 1 u <<< int32 memoryTypeIndex)
126
125
createExternalBuffer pBufferCreateInfo & allocationCreateInfo hostVisible alignment
127
126
@@ -135,8 +134,7 @@ type internal MemoryAllocator (device: IDevice) =
135
134
136
135
match tryCreateImage pImageCreateInfo && allocationCreateInfo hostVisible true with
137
136
| Result.Ok result -> result
138
- | Result.Error error ->
139
- Log.Vulkan.warn $" could not allocate memory for image (Error: {error})"
137
+ | Result.Error _ ->
140
138
& allocationCreateInfo.memoryTypeBits &&&= ~~~( 1 u <<< int32 memoryTypeIndex)
141
139
createExternalImage pImageCreateInfo & allocationCreateInfo hostVisible
142
140
You can’t perform that action at this time.
0 commit comments