{ "d3d12", DZN_DEBUG_D3D12 },
{ "debugger", DZN_DEBUG_DEBUGGER },
{ "redirects", DZN_DEBUG_REDIRECTS },
+ { "bindless", DZN_DEBUG_BINDLESS },
{ NULL, 0 }
};
device->need_swapchain_blits = true;
}
+ device->bindless = (instance->debug_flags & DZN_DEBUG_BINDLESS) != 0;
+
if (device->bindless) {
dzn_foreach_pool_type(type) {
uint32_t descriptor_count = type == D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER ?
DZN_DEBUG_D3D12 = 1 << 7,
DZN_DEBUG_DEBUGGER = 1 << 8,
DZN_DEBUG_REDIRECTS = 1 << 9,
+ DZN_DEBUG_BINDLESS = 1 << 10,
};
struct dzn_instance {