HomeSort by: relevance | last modified time | path
    Searched defs:texel (Results 1 - 21 of 21) sorted by relevancy

  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
pan_wallpaper.c 78 nir_ssa_def *texel = &tx->dest.ssa; local
80 nir_store_var(b, c_out, texel, 0xFF);
  /xsrc/external/mit/mesa-demos/dist/src/perf/
genmipmap.c 85 GLubyte texel[4]; local
86 texel[0] = texel[1] = texel[2] = texel[3] = i & 0xff;
89 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texel);
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
vl_compositor_gfx.c 172 * texel[0..1].x = tex(t_tc[0..1][0])
173 * texel[0..1].y = tex(t_tc[0..1][1])
174 * texel[0..1].z = tex(t_tc[0..1][2])
204 create_frag_shader_csc(struct ureg_program *shader, struct ureg_dst texel,
220 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W),
225 ureg_src(texel));
228 ureg_scalar(ureg_src(texel), TGSI_SWIZZLE_Z));
241 create_frag_shader_yuv(struct ureg_program *shader, struct ureg_dst texel)
258 * texel.xyz = tex(tc, sampler[i])
261 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_2D_ARRAY, tc, sampler[i])
268 struct ureg_dst texel; local
291 struct ureg_dst texel, fragment; local
314 struct ureg_dst texel, fragment; local
350 struct ureg_dst texel; local
406 struct ureg_dst texel, fragment; local
438 struct ureg_dst texel, fragment; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_state_fs_linear_llvm.c 103 LLVMValueRef texel; local
113 texel = lp_build_pointer_get(bld->gallivm->builder, texels_ptr,
115 assert(LLVMTypeOf(texel) == bld->vec_type);
125 return texel;
lp_linear_sampler.c 211 const uint8_t *texel = (src + local
215 row[i] = *(const uint32_t *)texel;
243 const uint8_t *texel = (src + local
247 row[i] = (*(const uint32_t *)texel) | 0xff000000;
281 const uint8_t *texel = (src + local
285 row[i] = *(const uint32_t *)texel;
317 const uint8_t *texel = (src + local
321 row[i] = (*(const uint32_t *)texel) | 0xff000000;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
vl_compositor_gfx.c 172 * texel[0..1].x = tex(t_tc[0..1][0])
173 * texel[0..1].y = tex(t_tc[0..1][1])
174 * texel[0..1].z = tex(t_tc[0..1][2])
204 create_frag_shader_csc(struct ureg_program *shader, struct ureg_dst texel,
220 ureg_MOV(shader, ureg_writemask(texel, TGSI_WRITEMASK_W),
225 ureg_src(texel));
228 ureg_scalar(ureg_src(texel), TGSI_SWIZZLE_Z));
241 create_frag_shader_yuv(struct ureg_program *shader, struct ureg_dst texel)
258 * texel.xyz = tex(tc, sampler[i])
261 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_2D_ARRAY, tc, sampler[i])
268 struct ureg_dst texel; local
291 struct ureg_dst texel, fragment; local
314 struct ureg_dst texel, fragment; local
350 struct ureg_dst texel; local
406 struct ureg_dst texel, fragment; local
438 struct ureg_dst texel, fragment; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
texcompress_bptc_tmp.h 240 * partition is represented by a 32-bit value which gives 2 bits per texel
449 int texel)
451 if (texel == 0)
458 return anchor_indices[0][partition_num] == texel;
460 return (anchor_indices[1][partition_num] == texel ||
461 anchor_indices[2][partition_num] == texel);
471 int texel)
475 if (texel == 0)
482 if (texel > anchor_indices[0][partition_num])
486 if (texel > anchor_indices[1][partition_num]
728 int texel; local
1105 int texel; local
    [all...]
texobj.c 924 GLubyte texel[24]; local
932 texel[4*face + 0] =
933 texel[4*face + 1] =
934 texel[4*face + 2] = 0x0;
935 texel[4*face + 3] = 0xff;
1025 GL_RGBA, GL_UNSIGNED_BYTE, texel,
  /xsrc/external/mit/MesaLib/dist/src/util/format/
u_format_fxt1.c 59 #define MAX_COMP 4 /* ever needed maximum number of components in texel */
130 #define CALCCDOT(TEXEL, NV, NC, IV, B, V)\
136 TEXEL = (int32_t)(dot + B); \
138 if (TEXEL < 0) { \
139 TEXEL = 0; \
140 } else if (TEXEL > NV) { \
141 TEXEL = NV; \
616 int32_t texel; local
618 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
619 /* add in texel */
636 int32_t texel; local
723 int32_t texel = n_vect + 1; \/* transparent black *\/ local
819 int32_t texel = n_vect + 1; \/* transparent black *\/ local
853 int32_t texel = n_vect + 1; \/* transparent black *\/ local
982 int32_t texel; local
1015 int32_t texel; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_sample.h 111 LLVMValueRef *texel; member in struct:lp_sampler_params
421 LLVMValueRef *texel)
430 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
texcompress_bptc_tmp.h 240 * partition is represented by a 32-bit value which gives 2 bits per texel
449 int texel)
451 if (texel == 0)
458 return anchor_indices[0][partition_num] == texel;
460 return (anchor_indices[1][partition_num] == texel ||
461 anchor_indices[2][partition_num] == texel);
471 int texel)
475 if (texel == 0)
482 if (texel > anchor_indices[0][partition_num])
486 if (texel > anchor_indices[1][partition_num]
733 int texel; local
1110 int texel; local
    [all...]
texcompress_fxt1.c 175 #define MAX_COMP 4 /* ever needed maximum number of components in texel */
246 #define CALCCDOT(TEXEL, NV, NC, IV, B, V)\
252 TEXEL = (GLint)(dot + B); \
254 if (TEXEL < 0) { \
255 TEXEL = 0; \
256 } else if (TEXEL > NV) { \
257 TEXEL = NV; \
735 GLint texel; local
737 CALCCDOT(texel, n_vect, n_comp, iv, b, input[k]);
738 /* add in texel */
755 GLint texel; local
842 GLint texel = n_vect + 1; \/* transparent black *\/ local
938 GLint texel = n_vect + 1; \/* transparent black *\/ local
972 GLint texel = n_vect + 1; \/* transparent black *\/ local
1101 GLint texel; local
1134 GLint texel; local
    [all...]
texobj.c 959 GLubyte texel[24]; local
967 texel[4*face + 0] =
968 texel[4*face + 1] =
969 texel[4*face + 2] = 0x0;
970 texel[4*face + 3] = 0xff;
1057 GL_RGBA, GL_UNSIGNED_BYTE, texel,
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_nir.c 2001 LLVMValueRef texel[NIR_MAX_VEC_COMPONENTS]; local
2174 params.texel = texel;
2199 texel[i] = lp_build_float_to_half(gallivm, texel[i]);
2201 texel[i] = LLVMBuildBitCast(builder, texel[i], bld_base->int_bld.vec_type, "");
2202 texel[i] = LLVMBuildTrunc(builder, texel[i], vec_type, "");
2207 assign_dest(bld_base, &instr->dest, texel);
    [all...]
lp_bld_nir_soa.c 1455 LLVMValueRef texel[4], orig_offset, orig_lod; local
1457 orig_texel_ptr = params->texel;
1479 params->texel = texel;
1485 result[i] = LLVMBuildInsertElement(gallivm->builder, result[i], texel[i], idx, "");
lp_bld_sample.h 118 LLVMValueRef *texel; member in struct:lp_sampler_params
499 LLVMValueRef *texel)
508 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
  /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
panvk_vX_meta_copy.c 235 default: unreachable("Invalid texel size\n");
441 nir_ssa_def *texel = &tex->dest.ssa; local
450 nir_f2u32(&b, nir_fmul(&b, texel,
465 texel = nir_fmul_imm(&b, nir_u2f32(&b, rg), 1.0 / 255);
468 nir_ssa_def *rg = nir_f2u32(&b, nir_fmul_imm(&b, texel, 255));
482 texel = nir_fmul(&b, nir_u2f32(&b, rgb),
501 texel = nir_u2u16(&b, texel);
503 texel = nir_channels(&b, texel, (1 << ndstcomps) - 1)
1019 nir_ssa_def *texel = local
1503 nir_ssa_def *texel = &tex->dest.ssa; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
s_texfilter.c 151 * Used to compute texel locations for linear sampling.
157 * i0, i1 = returns two nearest texel indexes
288 * Used to compute texel location for nearest sampling.
807 * Put z into texel according to GL_DEPTH_MODE.
810 apply_depth_mode(GLenum depthMode, GLfloat z, GLfloat texel[4])
814 ASSIGN_4V(texel, z, z, z, 1.0F);
817 ASSIGN_4V(texel, z, z, z, z);
820 ASSIGN_4V(texel, 0.0F, 0.0F, 0.0F, z);
823 ASSIGN_4V(texel, z, 0.0F, 0.0F, 1.0F);
898 /* fetch texel colors *
1441 GLubyte *texel = (GLubyte *) swImg->ImageSlices[0] + 3 * pos; local
1486 const GLuint texel = *((GLuint *) swImg->ImageSlices[0] + pos); local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
s_texfilter.c 151 * Used to compute texel locations for linear sampling.
157 * i0, i1 = returns two nearest texel indexes
288 * Used to compute texel location for nearest sampling.
807 * Put z into texel according to GL_DEPTH_MODE.
810 apply_depth_mode(GLenum depthMode, GLfloat z, GLfloat texel[4])
814 ASSIGN_4V(texel, z, z, z, 1.0F);
817 ASSIGN_4V(texel, z, z, z, z);
820 ASSIGN_4V(texel, 0.0F, 0.0F, 0.0F, z);
823 ASSIGN_4V(texel, z, 0.0F, 0.0F, 1.0F);
898 /* fetch texel colors *
1441 GLubyte *texel = (GLubyte *) swImg->ImageSlices[0] + 3 * pos; local
1486 const GLuint texel = *((GLuint *) swImg->ImageSlices[0] + pos); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
nir_to_spirv.c 2625 SpvId texel = get_src(ctx, &intr->src[3]); local
2628 /* texel type must match image type */
2629 texel = emit_bitcast(ctx,
2631 texel);
2632 spirv_builder_emit_image_write(&ctx->builder, img, coord, texel, 0, sample, 0);
2692 SpvId texel = spirv_builder_emit_image_texel_pointer(&ctx->builder, base_type, img_var, coord, sample); local
2707 handle_atomic_op(ctx, intr, texel, param, param2, ntype);
  /xsrc/external/mit/MesaLib/dist/src/amd/llvm/
ac_llvm_build.c 2306 LLVMValueRef texel = LLVMBuildExtractValue(ctx->builder, result, 0, ""); local
2308 result = ac_build_concat(ctx, texel, ac_to_float(ctx, code));

Completed in 32 milliseconds