@@ -181,14 +181,14 @@ Vk::Vk(Config config) {
181181 {
182182 u64 heap_size = device->heap_size (Heap::host);
183183 if (heap_size < Math::MB (64 )) {
184- die (" Host heap is too small: %mb / 64mb." , heap_size / Math::MB (1 ));
184+ die (" [rvk] Host heap is too small: %mb / 64mb." , heap_size / Math::MB (1 ));
185185 }
186186 if (config.host_heap > max_allocation) {
187- warn (" Requested host heap is larger than the max allocation size, using max." );
187+ warn (" [rvk] Requested host heap is larger than the max allocation size, using max." );
188188 config.host_heap = max_allocation;
189189 }
190190 if (config.host_heap > heap_size) {
191- warn (" Requested host heap is larger than available, using entire heap." );
191+ warn (" [rvk] Requested host heap is larger than available, using entire heap." );
192192 config.host_heap = heap_size;
193193 }
194194 host_memory = Arc<Device_Memory, Alloc>::make (physical_device, device.dup (), Heap::host,
@@ -197,10 +197,10 @@ Vk::Vk(Config config) {
197197 {
198198 u64 heap_size = device->heap_size (Heap::device);
199199 if (heap_size < Math::MB (128 )) {
200- die (" Device heap is too small: %mb / 128mb." , heap_size / Math::MB (1 ));
200+ die (" [rvk] Device heap is too small: %mb / 128mb." , heap_size / Math::MB (1 ));
201201 }
202202 if (config.device_heap_margin > heap_size) {
203- warn (" Requested device heap margin is larger than the heap, using 64mb margin." );
203+ warn (" [rvk] Requested device heap margin is larger than the heap, using 64mb margin." );
204204 config.device_heap_margin = Math::MB (64 );
205205 }
206206
0 commit comments