HomeSort by: relevance | last modified time | path
    Searched defs:tex (Results 1 - 25 of 411) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib.old/dist/src/intel/blorp/
blorp_nir_builder.h 54 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); local
55 tex->op = nir_texop_txf_ms_mcs;
56 tex->sampler_dim = GLSL_SAMPLER_DIM_MS;
57 tex->dest_type = nir_type_int;
61 tex->is_array = true;
62 tex->coord_components = 3;
67 tex->is_array = false;
68 tex->coord_components = 2;
71 tex->src[0].src_type = nir_tex_src_coord;
72 tex->src[0].src = nir_src_for_ssa(coord)
    [all...]
  /xsrc/external/mit/MesaLib/dist/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));
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_state_fs_analysis.c 58 * TEX TEMP[0], TEMP[0], SAMP[0], 2D
59 * TEX TEMP[2], IN[0], SAMP[0], 2D
60 * TEX TEMP[3], IN[1], SAMP[0], 2D
61 * TEX TEMP[1], TEMP[1], SAMP[0], 2D
108 const struct lp_tgsi_texture_info *tex = &info->tex[index]; local
109 if (tex->sampler_unit != 0 ||
110 tex->texture_unit != 0 ||
111 tex->coord[0].file != TGSI_FILE_INPUT ||
112 tex->coord[1].file != TGSI_FILE_INPUT |
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/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));
  /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
glut_teapot.c 128 static float tex[2][2][2] = variable
176 &tex[0][0][0]);
  /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
glut_teapot.c 128 static float tex[2][2][2] = variable
176 &tex[0][0][0]);
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_gather_ssa_types.c 146 nir_tex_instr *tex = nir_instr_as_tex(instr); local
147 for (unsigned i = 0; i < tex->num_srcs; i++) {
148 assert(tex->src[i].src.is_ssa);
149 set_type(tex->src[i].src.ssa->index,
150 nir_tex_instr_src_type(tex, i),
153 assert(tex->dest.is_ssa);
154 set_type(tex->dest.ssa.index, tex->dest_type,
nir_lower_bitmap.c 78 nir_tex_instr *tex; local
94 tex = nir_tex_instr_create(shader, 3);
95 tex->op = nir_texop_tex;
96 tex->sampler_dim = GLSL_SAMPLER_DIM_2D;
97 tex->coord_components = 2;
98 tex->dest_type = nir_type_float32;
99 tex->src[0].src_type = nir_tex_src_texture_deref;
100 tex->src[0].src = nir_src_for_ssa(&tex_deref->dest.ssa);
101 tex->src[1].src_type = nir_tex_src_sampler_deref;
102 tex->src[1].src = nir_src_for_ssa(&tex_deref->dest.ssa)
    [all...]
nir_lower_fb_read.c 37 * This should be run after lower_wpos_ytransform, because the tex
59 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 2); local
60 tex->op = nir_texop_txf_ms_fb;
61 tex->sampler_dim = GLSL_SAMPLER_DIM_2D;
62 tex->coord_components = 2;
63 tex->dest_type = nir_type_float32;
64 tex->src[0].src_type = nir_tex_src_coord;
65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3));
66 tex->src[1].src_type = nir_tex_src_ms_index;
67 tex->src[1].src = nir_src_for_ssa(sampid)
    [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...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_image.c 30 * SSBO/Image to/from IBO/tex hw mapping table:
58 unsigned tex = mapping->num_tex++; local
59 mapping->ssbo_to_tex[ssbo] = tex;
60 mapping->tex_to_image[tex] = IBO_SSBO | ssbo;
82 unsigned tex = mapping->num_tex++; local
83 mapping->image_to_tex[image] = tex;
84 mapping->tex_to_image[tex] = image;
ir3_nir_lower_tg4_to_tex.c 45 nir_tex_instr *tex = nir_tex_instr_create(b->shader, num_srcs); local
46 tex->op = nir_texop_txl;
47 tex->sampler_dim = tg4->sampler_dim;
48 tex->coord_components = tg4->coord_components;
49 tex->is_array = tg4->is_array;
50 tex->is_shadow = tg4->is_shadow;
51 tex->is_new_style_shadow = tg4->is_new_style_shadow;
52 tex->texture_index = tg4->texture_index;
53 tex->sampler_index = tg4->sampler_index;
54 tex->dest_type = tg4->dest_type
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
i915_resource_buffer.c 53 struct i915_texture *tex = i915_texture(resource); local
57 if (tex->buffer)
58 iws->buffer_destroy(iws, tex->buffer);
60 for (i = 0; i < ARRAY_SIZE(tex->image_offset); i++)
61 FREE(tex->image_offset[i]);
63 FREE(tex);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
r300_screen_buffer.c 67 struct r300_resource* tex = (struct r300_resource*)buf; local
69 if (tex->tex.cmask_dwords) {
76 pb_reference(&tex->buf, NULL);
77 FREE(tex);
  /xsrc/external/mit/MesaLib/dist/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...]
  /xsrc/external/mit/MesaLib/dist/src/intel/blorp/
blorp_nir_builder.h 41 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); local
42 tex->op = nir_texop_txf_ms_mcs_intel;
43 tex->sampler_dim = GLSL_SAMPLER_DIM_MS;
44 tex->dest_type = nir_type_int32;
48 tex->is_array = true;
49 tex->coord_components = 3;
54 tex->is_array = false;
55 tex->coord_components = 2;
58 tex->src[0].src_type = nir_tex_src_coord;
59 tex->src[0].src = nir_src_for_ssa(coord)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_gather_ssa_types.c 143 nir_tex_instr *tex = nir_instr_as_tex(instr); local
144 for (unsigned i = 0; i < tex->num_srcs; i++) {
145 assert(tex->src[i].src.is_ssa);
146 set_type(tex->src[i].src.ssa->index,
147 nir_tex_instr_src_type(tex, i),
150 assert(tex->dest.is_ssa);
151 set_type(tex->dest.ssa.index, tex->dest_type,
nir_lower_bitmap.c 85 nir_tex_instr *tex; local
102 tex = nir_tex_instr_create(shader, 3);
103 tex->op = nir_texop_tex;
104 tex->sampler_dim = GLSL_SAMPLER_DIM_2D;
105 tex->coord_components = 2;
106 tex->dest_type = nir_type_float;
107 tex->src[0].src_type = nir_tex_src_texture_deref;
108 tex->src[0].src = nir_src_for_ssa(&tex_deref->dest.ssa);
109 tex->src[1].src_type = nir_tex_src_sampler_deref;
110 tex->src[1].src = nir_src_for_ssa(&tex_deref->dest.ssa)
    [all...]
nir_lower_fb_read.c 37 * This should be run after lower_wpos_ytransform, because the tex
59 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 2); local
60 tex->op = nir_texop_txf_ms_fb;
61 tex->sampler_dim = GLSL_SAMPLER_DIM_2D;
62 tex->coord_components = 2;
63 tex->dest_type = nir_type_float;
64 tex->src[0].src_type = nir_tex_src_coord;
65 tex->src[0].src = nir_src_for_ssa(nir_channels(b, fragcoord, 0x3));
66 tex->src[1].src_type = nir_tex_src_ms_index;
67 tex->src[1].src = nir_src_for_ssa(sampid)
    [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...]
  /xsrc/external/mit/MesaLib.old/dist/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...]
  /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
anv_nir_lower_input_attachments.c 75 nir_tex_instr *tex = nir_tex_instr_create(b.shader, 3 + multisampled); local
77 tex->op = nir_texop_txf;
81 tex->dest_type = nir_type_float;
84 tex->dest_type = nir_type_int;
87 tex->dest_type = nir_type_uint;
92 tex->is_array = true;
93 tex->is_shadow = false;
95 tex->texture_index = 0;
96 tex->sampler_index = 0;
98 tex->src[0].src_type = nir_tex_src_texture_deref
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/tests/
tex1d.c 81 GLubyte tex[256][3]; local
108 tex[i][0] = (f+1.0)/2.0 * 255.0;
109 tex[i][1] = 0;
110 tex[i][2] = 0;
113 glTexImage1D( GL_TEXTURE_1D, 0, 3, 256, 0, GL_RGB, GL_UNSIGNED_BYTE, tex );
  /xsrc/external/mit/mesa-demos/dist/src/trivial/
long-fixed-func.c 49 GLubyte tex[16][16][4]; local
63 tex[i][j][0] = 100;
64 tex[i][j][1] = 100;
65 tex[i][j][2] = 100;
66 tex[i][j][3] = 255;
69 tex[i][j][0] = 200;
70 tex[i][j][1] = 200;
71 tex[i][j][2] = 200;
72 tex[i][j][3] = 255;
112 GL_RGBA, GL_UNSIGNED_BYTE, tex);
    [all...]
sub-tex.c 14 static GLuint Tex = 0;
22 glGenTextures(1, &Tex);
23 glBindTexture(GL_TEXTURE_2D, Tex);
47 glDeleteTextures(1, &Tex);
57 GLubyte tex[16][16][4]; local
64 tex[i][j][0] = 128;
65 tex[i][j][1] = 128;
66 tex[i][j][2] = 128;
67 tex[i][j][3] = 255;
70 tex[i][j][0] = 255
    [all...]

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>