Lines Matching refs:has_bit
1857 if (!has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER) && in vrend_create_surface()
2193 if (!has_bit(view->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_create_sampler_view()
2979 if (!has_bit(view->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_set_single_sampler_view()
4220 if (has_bit(tview->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_draw_bind_samplers_shader()
4375 if (has_bit(iview->texture->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_draw_bind_images_shader()
5725 if (has_bit(tex->base.storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_apply_sampler_state()
6058 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_pipe_resource_attach_iov()
6069 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_pipe_resource_detach_iov()
6918 if (gr->gbm_bo && !has_bit(gr->storage_bits, VREND_STORAGE_EGL_IMAGE)) in vrend_resource_alloc_texture()
6952 if (has_bit(gr->storage_bits, VREND_STORAGE_GL_IMMUTABLE) && in vrend_resource_alloc_texture()
7066 if (!has_bit(gr->storage_bits, VREND_STORAGE_GL_BUFFER) && in vrend_resource_alloc_texture()
7140 if (has_bit(res->storage_bits, VREND_STORAGE_GL_TEXTURE)) { in vrend_renderer_resource_destroy()
7142 } else if (has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_renderer_resource_destroy()
7146 } else if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_renderer_resource_destroy()
7150 if (has_bit(res->storage_bits, VREND_STORAGE_GL_MEMOBJ)) { in vrend_renderer_resource_destroy()
7455 has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) && res->iov) { in vrend_renderer_transfer_write_iov()
7461 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_renderer_transfer_write_iov()
7468 if (has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_renderer_transfer_write_iov()
8018 (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY) && res->iov)) { in vrend_renderer_transfer_send_iov()
8024 if (has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_renderer_transfer_send_iov()
8031 if (has_bit(res->storage_bits, VREND_STORAGE_GL_BUFFER)) { in vrend_renderer_transfer_send_iov()
8089 !has_bit(res->storage_bits, VREND_STORAGE_EGL_IMAGE))) { in vrend_renderer_transfer_internal()
8231 if (has_bit(dst_res->storage_bits, VREND_STORAGE_GL_IMMUTABLE)) in vrend_renderer_copy_transfer3d()
8785 if (!has_bit(res->storage_bits, VREND_STORAGE_GL_IMMUTABLE)) in vrend_make_view()
9433 if (!res || !has_bit(res->storage_bits, VREND_STORAGE_HOST_SYSTEM_MEMORY)) { in vrend_create_query()