Lines Matching refs:tex
578 struct drm_gem_dma_object *tex; in reloc_tex() local
595 tex = vc4_use_bo(exec, texture_handle_index); in reloc_tex()
596 if (!tex) in reloc_tex()
600 uint32_t remaining_size = tex->base.size - p0; in reloc_tex()
602 if (p0 > tex->base.size - 4) { in reloc_tex()
611 *validated_p0 = tex->dma_addr + p0; in reloc_tex()
690 if (!vc4_check_tex_size(exec, tex, offset + cube_map_stride * 5, in reloc_tex()
739 *validated_p0 = tex->dma_addr + p0; in reloc_tex()
743 to_vc4_bo(&tex->base)->write_seqno); in reloc_tex()
841 uint32_t tex, uni; in validate_gl_shader_rec() local
868 for (tex = 0; in validate_gl_shader_rec()
869 tex < validated_shader->num_texture_samples; in validate_gl_shader_rec()
870 tex++) { in validate_gl_shader_rec()
873 &validated_shader->texture_samples[tex], in validate_gl_shader_rec()
874 texture_handles_u[tex], in validate_gl_shader_rec()