Add warnings on incorrect GPUBuffer or GPUTexture usage when binding to GPUContext (in non-release builds)
This commit is contained in:
@@ -13,6 +13,7 @@ void GPUBufferViewVulkan::Init(GPUDeviceVulkan* device, GPUBufferVulkan* owner,
|
||||
{
|
||||
ASSERT(View == VK_NULL_HANDLE);
|
||||
|
||||
_parent = owner;
|
||||
Device = device;
|
||||
Owner = owner;
|
||||
Buffer = buffer;
|
||||
|
||||
Reference in New Issue
Block a user