Lines Matching defs:device

248    struct tu_device *device;
564 MIN2(xs->instrlen, cs->device->physical_device->info->a6xx.instr_cache_size);
693 if (cs->device->physical_device->info->a6xx.has_lpac) {
714 if (cs->device->physical_device->info->a6xx.has_lpac) {
1607 struct tu_device *dev = cs->device;
1625 /* Create the shared tess factor BO the first time tess is used on the device. */
1692 builder->device->compiler);
1754 if (builder->device->physical_device->info->a6xx.has_cp_reg_write) {
1767 builder->device->physical_device->info->a6xx.supports_multiview_mask) {
2380 /* Allocate the space for the pipeline out of the device's RO suballocator.
2612 * logical device creation.
2673 tu_shaders_deserialize(struct vk_device *device,
2687 vk_free(&object->device->alloc, shaders);
2791 const struct ir3_compiler *compiler = builder->device->compiler;
2811 if (tu6_shared_constants_enable(builder->layout, builder->device->compiler)) {
2821 tu_shader_key_init(&keys[stage], stage_infos[stage], builder->device);
2849 if (application_cache_hit && builder->cache != builder->device->mem_cache) {
2875 nir[stage] = tu_spirv_to_nir(builder->device, builder->mem_ctx, stage_info, stage);
2887 ir3_get_compiler_options(builder->device->compiler);
2916 tu_shader_create(builder->device, nir[stage], &keys[stage],
2962 tu_shaders_init(builder->device, &pipeline_sha1, sizeof(pipeline_sha1));
3019 tu_shader_destroy(builder->device, shaders[stage], builder->alloc);
3075 tu_shader_destroy(builder->device, shaders[stage], builder->alloc);
3392 (builder->device->physical_device->info->a6xx.has_shading_rate ? 8 : 0) +
3416 if (builder->device->physical_device->info->a6xx.has_shading_rate) {
3502 tu6_apply_depth_bounds_workaround(builder->device, &rb_depth_cntl);
3709 if (unlikely(builder->device->physical_device->instance->debug_flags & TU_DEBUG_RAST_ORDER))
3778 *pipeline = vk_object_zalloc(&builder->device->vk, builder->alloc,
3789 vk_object_free(&builder->device->vk, builder->alloc, *pipeline);
3793 result = tu_pipeline_allocate_cs(builder->device, *pipeline,
3796 vk_object_free(&builder->device->vk, builder->alloc, *pipeline);
3828 result = tu_setup_pvtmem(builder->device, *pipeline, &builder->pvtmem,
3831 vk_object_free(&builder->device->vk, builder->alloc, *pipeline);
3869 .device = dev,
3999 tu_graphics_pipeline_create(VkDevice device,
4005 TU_FROM_HANDLE(tu_device, dev, device);
4027 tu_CreateGraphicsPipelines(VkDevice device,
4038 VkResult result = tu_graphics_pipeline_create(device, pipelineCache,
4059 tu_compute_pipeline_create(VkDevice device,
4065 TU_FROM_HANDLE(tu_device, dev, device);
4234 tu_CreateComputePipelines(VkDevice device,
4245 VkResult result = tu_compute_pipeline_create(device, pipelineCache,