/external/mesa3d/src/compiler/glsl/ |
lower_offset_array.cpp | 71 ir_texture *tex = ir->clone(mem_ctx, NULL); local 72 tex->offset = new (mem_ctx) ir_dereference_array(tex->offset, 75 base_ir->insert_before(assign(var, swizzle_w(tex), 1 << i));
|
/external/mesa3d/src/compiler/nir/ |
nir_lower_bitmap.c | 85 nir_tex_instr *tex; local 91 tex = nir_tex_instr_create(shader, 1); 92 tex->op = nir_texop_tex; 93 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; 94 tex->coord_components = 2; 95 tex->sampler_index = options->sampler; 96 tex->texture_index = options->sampler; 97 tex->dest_type = nir_type_float; 98 tex->src[0].src_type = nir_tex_src_coord; 99 tex->src[0].src = nir_src_for_ssa(texcoord) [all...] |
nir_normalize_cubemap_coords.c | 45 nir_tex_instr *tex = nir_instr_as_tex(instr); local 46 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) 49 b->cursor = nir_before_instr(&tex->instr); 51 for (unsigned i = 0; i < tex->num_srcs; i++) { 52 if (tex->src[i].src_type != nir_tex_src_coord) 56 nir_ssa_for_src(b, tex->src[i].src, nir_tex_instr_src_size(tex, i)); 69 if (tex->coord_components == 4) { 77 nir_instr_rewrite_src(&tex->instr, 78 &tex->src[i].src [all...] |
nir_propagate_invariant.c | 92 nir_tex_instr *tex = nir_instr_as_tex(instr); local 93 if (dest_is_invariant(&tex->dest, invariants))
|
nir_inline_functions.c | 74 nir_tex_instr *tex = nir_instr_as_tex(instr); local 75 if (tex->texture) 76 convert_deref_to_param_deref(&tex->instr, &tex->texture, call); 77 if (tex->sampler) 78 convert_deref_to_param_deref(&tex->instr, &tex->sampler, call);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_sampler_view.c | 63 struct svga_texture *tex = svga_texture(pt); local 95 if (tex->cached_view && 96 tex->cached_view->min_lod == min_lod && 97 tex->cached_view->max_lod == max_lod) { 98 svga_sampler_view_reference(&sv, tex->cached_view); 133 sv->handle = tex->handle; 148 sv->age = tex->age; 149 sv->handle = svga_texture_view_surface(svga, tex, 159 sv->handle = tex->handle; 167 svga_sampler_view_reference(&tex->cached_view, sv) 182 struct svga_texture *tex = svga_texture(v->texture); local 221 struct svga_texture *tex = svga_texture(v->texture); local [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_nir_lower_input_attachments.c | 69 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 2 + multisampled); local 71 tex->op = nir_texop_txf; 75 tex->dest_type = nir_type_float; 78 tex->dest_type = nir_type_int; 81 tex->dest_type = nir_type_uint; 86 tex->is_array = true; 87 tex->is_shadow = false; 89 tex->texture = nir_deref_var_clone(load->variables[0], tex); 90 tex->sampler = NULL [all...] |
/external/skia/tests/ |
VkWrapTests.cpp | 41 sk_sp<GrTexture> tex = gpu->wrapBackendTexture(origBackendTex, kBorrow_GrWrapOwnership); local 42 REPORTER_ASSERT(reporter, tex); 49 tex = gpu->wrapBackendTexture(backendTex, kBorrow_GrWrapOwnership); 50 REPORTER_ASSERT(reporter, !tex); 51 tex = gpu->wrapBackendTexture(backendTex, kAdopt_GrWrapOwnership); 52 REPORTER_ASSERT(reporter, !tex); 60 tex = gpu->wrapBackendTexture(backendTex, kBorrow_GrWrapOwnership); 61 REPORTER_ASSERT(reporter, !tex); 62 tex = gpu->wrapBackendTexture(backendTex, kAdopt_GrWrapOwnership); 63 REPORTER_ASSERT(reporter, !tex); 123 sk_sp<GrTexture> tex = local [all...] |
/external/skqp/tests/ |
VkWrapTests.cpp | 41 sk_sp<GrTexture> tex = gpu->wrapBackendTexture(origBackendTex, kBorrow_GrWrapOwnership); local 42 REPORTER_ASSERT(reporter, tex); 49 tex = gpu->wrapBackendTexture(backendTex, kBorrow_GrWrapOwnership); 50 REPORTER_ASSERT(reporter, !tex); 51 tex = gpu->wrapBackendTexture(backendTex, kAdopt_GrWrapOwnership); 52 REPORTER_ASSERT(reporter, !tex); 60 tex = gpu->wrapBackendTexture(backendTex, kBorrow_GrWrapOwnership); 61 REPORTER_ASSERT(reporter, !tex); 62 tex = gpu->wrapBackendTexture(backendTex, kAdopt_GrWrapOwnership); 63 REPORTER_ASSERT(reporter, !tex); 123 sk_sp<GrTexture> tex = local [all...] |
ProxyTest.cpp | 86 GrTexture* tex = texProxy->priv().peekTexture(); local 91 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() == tex->uniqueID().asUInt()); 94 REPORTER_ASSERT(reporter, texProxy->uniqueID().asUInt() != tex->uniqueID().asUInt()); 98 REPORTER_ASSERT(reporter, tex->width() == texProxy->width()); 99 REPORTER_ASSERT(reporter, tex->height() == texProxy->height()); 101 REPORTER_ASSERT(reporter, tex->width() >= texProxy->width()); 102 REPORTER_ASSERT(reporter, tex->height() >= texProxy->height()); 104 REPORTER_ASSERT(reporter, tex->config() == texProxy->config()); 131 sk_sp<GrTexture> tex; local 133 tex = resourceProvider->createApproxTexture(desc, 0) 163 sk_sp<GrTexture> tex; local [all...] |
/packages/services/Car/evs/app/ |
RenderTopView.h | 50 std::unique_ptr<VideoTex> tex; member in struct:RenderTopView::ActiveCamera
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_format.c | 40 unsigned tex; member in struct:etna_format 58 .tex = TEXTURE_FORMAT_##texfmt, \ 67 .tex = TEXTURE_FORMAT_##fmt, \ 76 .tex = ETNA_NO_MATCH, \ 237 return formats[fmt].tex;
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_blit.c | 160 struct ilo_texture *tex = ilo_texture(res); local 170 assert(tex->base.target != PIPE_BUFFER && 171 ilo_image_can_enable_aux(&tex->image, level)); 195 const uint32_t first_clear_value = ilo_texture_get_slice(tex, 201 ilo_texture_get_slice(tex, level, first_slice + i); 216 ilo_texture_set_slice_clear_value(tex, level, 231 ilo_texture_get_slice(tex, level, first_slice + i); 235 &tex->base, level, first_slice + i);
|
ilo_blit.h | 48 struct ilo_texture *tex; local 54 tex = ilo_texture(res); 61 if (tex->image.aux.type != ILO_IMAGE_AUX_HIZ || 62 !ilo_image_can_enable_aux(&tex->image, level)) 65 if (tex->image.aux.type == ILO_IMAGE_AUX_HIZ && 66 ilo_image_can_enable_aux(&tex->image, level)) { 79 ilo_texture_set_slice_flags(tex, level, 107 surf->u.tex.level, surf->u.tex.first_layer, 108 surf->u.tex.last_layer - surf->u.tex.first_layer + 1 [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_lowering_nvc0.h | 59 TexUse(Instruction *use, const Instruction *tex, bool after) 60 : insn(use), tex(tex), after(after), level(-1) { } 62 const Instruction *tex; // or split / mov member in struct:nv50_ir::NVC0LegalizePostRA::TexUse
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_transfer.c | 87 struct pipe_resource *tex = transfer->resource; local 94 ctx->resource_copy_region(ctx, tex, transfer->level, 111 struct r300_resource *tex = r300_resource(texture); local 114 enum pipe_format format = tex->b.b.format; 118 r300->rws->cs_is_buffer_referenced(r300->cs, tex->buf, RADEON_USAGE_READWRITE); 123 !r300->rws->buffer_wait(tex->buf, 0, RADEON_USAGE_READWRITE); 137 if (tex->tex.microtile || tex->tex.macrotile[level] | [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
clear.c | 24 struct pipe_resource *tex; variable in typeref:struct:pipe_resource 36 screen->flush_frontbuffer(screen, tex, 0, 0, window, NULL); 80 tex = screen->resource_create(screen, 82 if (tex == NULL) 86 surf_tmpl.u.tex.level = 0; 87 surf_tmpl.u.tex.first_layer = 0; 88 surf_tmpl.u.tex.last_layer = 0; 89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_nir_lower_tex_src_plane.c | 70 nir_tex_instr *tex = nir_instr_as_tex(instr); local 71 int plane_index = nir_tex_instr_src_index(tex, nir_tex_src_plane); 76 nir_const_value *plane = nir_src_as_const_value(tex->src[plane_index].src); 80 unsigned y_samp = tex->texture_index; 82 assume(tex->texture_index == tex->sampler_index); 86 tex->texture_index = tex->sampler_index = 90 nir_tex_instr_remove_src(tex, plane_index);
|
/external/skqp/src/gpu/ |
GrResourceAllocator.cpp | 248 GrTextureProxy* tex = cur->proxy()->asTextureProxy(); local 249 if (tex && tex->getUniqueKey().isValid()) { 250 fResourceProvider->assignUniqueKeyToResource(tex->getUniqueKey(), surface.get()); 251 SkASSERT(surface->getUniqueKey() == tex->getUniqueKey());
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
esextcDrawBuffersIndexedColorMasks.cpp | 120 glw::GLuint tex; local 121 gl.genTextures(1, &tex); 122 gl.bindTexture(GL_TEXTURE_2D_ARRAY, tex); 126 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, tex, 0, i); 289 gl.deleteTextures(1, &tex);
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_format.c | 36 enum a3xx_tex_fmt tex; member in struct:fd3_format 49 .tex = TFMT_ ## fmt, \ 59 .tex = TFMT_ ## fmt, \ 69 .tex = ~0, \ 303 return formats[format].tex;
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_format.c | 41 enum a4xx_tex_fmt tex; member in struct:fd4_format 54 .tex = TFMT4_ ## fmt, \ 64 .tex = TFMT4_ ## fmt, \ 74 .tex = ~0, \ 353 return formats[format].tex;
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_format.c | 39 enum a5xx_tex_fmt tex; member in struct:fd5_format 52 .tex = TFMT5_ ## fmt, \ 62 .tex = TFMT5_ ## fmt, \ 72 .tex = ~0, \ 351 return formats[format].tex;
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
ir3_nir_lower_if_else.c | 127 nir_tex_instr *tex = nir_instr_as_tex(instr); local 128 if (!valid_dest(block, &tex->dest))
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource.h | 89 unsigned i915_texture_offset(const struct i915_texture *tex, 99 struct i915_texture *tex = (struct i915_texture *)resource; local 100 assert(tex->b.vtbl == &i915_texture_vtbl); 101 return tex; 106 struct i915_buffer *tex = (struct i915_buffer *)resource; local 107 assert(tex->b.vtbl == &i915_buffer_vtbl); 108 return tex;
|