Lines Matching refs:tex_conv_table

767 static struct vrend_format_table tex_conv_table[VIRGL_FORMAT_MAX_EXTENDED];  variable
771 if (tex_conv_table[format].bindings & VIRGL_BIND_SAMPLER_VIEW) in vrend_format_can_sample()
791 return tex_conv_table[format].flags & VIRGL_TEXTURE_CAN_READBACK; in vrend_format_can_readback()
796 return tex_conv_table[format].bindings & VIRGL_BIND_RENDER_TARGET; in vrend_format_can_render()
801 return tex_conv_table[format].bindings & VIRGL_BIND_DEPTH_STENCIL; in vrend_format_is_ds()
824 tex_conv_table[format].flags & VIRGL_TEXTURE_CAN_TEXTURE_STORAGE; in vrend_format_can_texture_view()
844 if (tex_conv_table[src].swizzle[i] != tex_conv_table[dst].swizzle[i]) in vrend_blit_needs_swizzle()
1150 tex_conv_table[entry->format] = *entry; in vrend_insert_format()
1151 tex_conv_table[entry->format].bindings = bindings; in vrend_insert_format()
1152 tex_conv_table[entry->format].flags = flags; in vrend_insert_format()
1160 tex_conv_table[override_format] = *entry; in vrend_insert_format_swizzle()
1161 tex_conv_table[override_format].bindings = bindings; in vrend_insert_format_swizzle()
1162 tex_conv_table[override_format].flags = flags | VIRGL_TEXTURE_NEED_SWIZZLE; in vrend_insert_format_swizzle()
1164 tex_conv_table[override_format].swizzle[i] = swizzle[i]; in vrend_insert_format_swizzle()
1180 vrend_check_texture_storage(tex_conv_table); in vrend_format_replace_emulated()
1197 return &tex_conv_table[format]; in vrend_get_format_table_entry()
1879 GLenum internalformat = tex_conv_table[format].internalformat; in vrend_create_surface()
2179 if (tex_conv_table[view->format].flags & VIRGL_TEXTURE_NEED_SWIZZLE) { in vrend_create_sampler_view()
2181 swizzle[0] = tex_conv_table[view->format].swizzle[swizzle[0]]; in vrend_create_sampler_view()
2183 swizzle[1] = tex_conv_table[view->format].swizzle[swizzle[1]]; in vrend_create_sampler_view()
2185 swizzle[2] = tex_conv_table[view->format].swizzle[swizzle[2]]; in vrend_create_sampler_view()
2187 swizzle[3] = tex_conv_table[view->format].swizzle[swizzle[3]]; in vrend_create_sampler_view()
2223 GLenum internalformat = tex_conv_table[format].internalformat; in vrend_create_sampler_view()
3041 internalformat = tex_conv_table[view->format].internalformat; in vrend_set_single_sampler_view()
3092 iview->format = tex_conv_table[format].internalformat; in vrend_set_single_image_view()
3899 format = tex_conv_table[fmt].glformat; in vrend_clear_texture()
3900 type = tex_conv_table[fmt].gltype; in vrend_clear_texture()
6215 vrend_check_texture_storage(tex_conv_table); in vrend_renderer_init()
6450 (tex_conv_table[args->format].flags & VIRGL_TEXTURE_CAN_TEXTURE_STORAGE); in check_resource_valid()
6878 (tex_conv_table[format].flags & VIRGL_TEXTURE_CAN_TEXTURE_STORAGE); in vrend_resource_fixup_emulated_bgra()
6911 (tex_conv_table[format].flags & VIRGL_TEXTURE_CAN_TEXTURE_STORAGE); in vrend_resource_alloc_texture()
6964 internalformat = tex_conv_table[format].internalformat; in vrend_resource_alloc_texture()
6965 glformat = tex_conv_table[format].glformat; in vrend_resource_alloc_texture()
6966 gltype = tex_conv_table[format].gltype; in vrend_resource_alloc_texture()
7568 glformat = tex_conv_table[res->base.format].glformat; in vrend_renderer_transfer_write_iov()
7569 gltype = tex_conv_table[res->base.format].gltype; in vrend_renderer_transfer_write_iov()
7603 glformat = tex_conv_table[res->base.format].internalformat; in vrend_renderer_transfer_write_iov()
7726 format = tex_conv_table[res->base.format].glformat; in vrend_transfer_send_getteximage()
7727 type = tex_conv_table[res->base.format].gltype; in vrend_transfer_send_getteximage()
7730 format = tex_conv_table[res->base.format].internalformat; in vrend_transfer_send_getteximage()
7854 format = tex_conv_table[fmt].glformat; in vrend_transfer_send_readpixels()
7855 type = tex_conv_table[fmt].gltype; in vrend_transfer_send_readpixels()
8493 glformat = tex_conv_table[src_res->base.format].glformat; in vrend_resource_copy_fallback()
8494 gltype = tex_conv_table[src_res->base.format].gltype; in vrend_resource_copy_fallback()
8497 glformat = tex_conv_table[src_res->base.format].internalformat; in vrend_resource_copy_fallback()
8782 GLenum fmt = tex_conv_table[dst_fmt].internalformat; in vrend_make_view()
10083 if (tex_conv_table[i].internalformat != 0 || fmt == VIRGL_FORMAT_YV12 || in vrend_renderer_fill_caps_v1()
10342 if (tex_conv_table[i].internalformat != 0) { in vrend_renderer_fill_caps_v2()
10506 format = tex_conv_table[res->base.format].glformat; in vrend_renderer_get_cursor_contents()
10507 type = tex_conv_table[res->base.format].gltype; in vrend_renderer_get_cursor_contents()