Lines Matching refs:device
101 perf_debug((struct tu_device *)pass->base.device, "Disabling gmem rendering due to invalid subpass dependency");
666 attachment_set_ops(struct tu_device *device,
673 if (device->instance->debug_flags & TU_DEBUG_DONT_CARE_AS_LOAD) {
748 TU_FROM_HANDLE(tu_device, device, _device);
750 if (unlikely(device->instance->debug_flags & TU_DEBUG_DYNAMIC))
765 pass = vk_object_zalloc(&device->vk, pAllocator, size,
768 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
792 attachment_set_ops(device, att, loadOp, stencilLoadOp,
811 &device->vk.alloc, pAllocator,
815 vk_object_free(&device->vk, pAllocator, pass);
816 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
924 tu_render_pass_gmem_config(pass, device->physical_device);
943 TU_FROM_HANDLE(tu_device, device, _device);
945 if (unlikely(device->instance->debug_flags & TU_DEBUG_DYNAMIC)) {
955 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments);
956 vk_object_free(&device->vk, pAllocator, pass);
979 struct tu_device *device = cmd_buffer->device;
1013 attachment_set_ops(device, att, att_info->loadOp, 0,
1027 attachment_set_ops(device, resolve_att,
1054 attachment_set_ops(device, att,
1069 attachment_set_ops(device, resolve_att,
1090 tu_render_pass_gmem_config(pass, device->physical_device);
1157 TU_FROM_HANDLE(tu_device, device, _device);
1158 pGranularity->width = device->physical_device->info->gmem_align_w;
1159 pGranularity->height = device->physical_device->info->gmem_align_h;