| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| midgard_errata_lod.c | 74 nir_ssa_def *clamped = nir_fmin(b, local 78 nir_src_for_ssa(clamped));
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/ |
| v3d_nir_lower_line_smooth.c | 126 nir_ssa_def *clamped = nir_fmin(&b, coverage, nir_imm_float(&b, 1.0f)); local 128 nir_store_var(&b, state->coverage, clamped, 0x1 /* writemask */);
|
| /xsrc/external/mit/glu/dist/src/libtess/ |
| tess.c | 418 GLdouble x, clamped[3]; local 439 clamped[i] = x; 447 CacheVertex( tess, clamped, data ); 455 if ( !AddVertex( tess, clamped, data ) ) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_compute_blit.c | 325 uint32_t clamped; local 326 if (util_lower_clearsize_to_dword(clear_value, (int*)&clear_value_size, &clamped)) 327 clear_value = &clamped;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| zink_clear.c | 446 uint32_t clamped; local 447 if (util_lower_clearsize_to_dword(clear_value, &clear_value_size, &clamped)) 448 clear_value = &clamped;
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/util/ |
| pan_lower_framebuffer.c | 270 nir_ssa_def *clamped = local 275 nir_ssa_def *f = nir_fmul(b, clamped, scales);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/ |
| fd5_emit.c | 176 srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */ 248 uint16_t clamped; local 252 clamped = CLAMP(bc->ui[j], 0, 0x3); 256 clamped = CLAMP(bc->i[j], -128, 127); 258 clamped = CLAMP(bc->ui[j], 0, 255); 262 clamped = CLAMP(bc->ui[j], 0, 0x3ff); 266 clamped = CLAMP(bc->i[j], -32768, 32767); 268 clamped = CLAMP(bc->ui[j], 0, 65535); 273 clamped = 0; 277 e->fp16[cd] = clamped; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| fd6_emit.c | 73 srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */ 153 uint16_t clamped; local 157 clamped = CLAMP(bc->ui[j], 0, 0x3); 161 clamped = CLAMP(bc->i[j], -128, 127); 163 clamped = CLAMP(bc->ui[j], 0, 255); 167 clamped = CLAMP(bc->ui[j], 0, 0x3ff); 171 clamped = CLAMP(bc->i[j], -32768, 32767); 173 clamped = CLAMP(bc->ui[j], 0, 65535); 178 clamped = 0; 182 e->fp16[cd] = clamped; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| fd5_emit.c | 150 uint16_t srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */ 220 uint16_t clamped; local 224 clamped = CLAMP(bc->ui[j], 0, 0x3); 228 clamped = CLAMP(bc->i[j], -128, 127); 230 clamped = CLAMP(bc->ui[j], 0, 255); 234 clamped = CLAMP(bc->ui[j], 0, 0x3ff); 238 clamped = CLAMP(bc->i[j], -32768, 32767); 240 clamped = CLAMP(bc->ui[j], 0, 65535); 245 clamped = 0; 249 e->fp16[cd] = clamped; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/ |
| fd6_emit.c | 171 uint16_t srgb[4]; /* appears to duplicate fp16[], but clamped, used for srgb */ 249 uint16_t clamped; local 253 clamped = CLAMP(bc->ui[j], 0, 0x3); 257 clamped = CLAMP(bc->i[j], -128, 127); 259 clamped = CLAMP(bc->ui[j], 0, 255); 263 clamped = CLAMP(bc->ui[j], 0, 0x3ff); 267 clamped = CLAMP(bc->i[j], -32768, 32767); 269 clamped = CLAMP(bc->ui[j], 0, 65535); 274 clamped = 0; 278 e->fp16[cd] = clamped; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_shader_tgsi_mem.c | 1442 * depth texture, then D_t and D_ref are clamped to the 1446 * so the depth comparison value isn't clamped for Z16 and 1451 LLVMValueRef clamped; local 1457 clamped = ac_build_clamp(&ctx->ac, z); 1458 z = LLVMBuildSelect(ctx->ac.builder, upgraded, clamped, z, "");
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| device9.c | 1683 boolean scaled, clamped, ms, flip_x = FALSE, flip_y = FALSE; local 1838 clamped = !!xy; 1844 if (clamped || scaled || (blit.dst.format != blit.src.format) || ms) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| texcompress_astc.cpp | 233 static uint8x4_t clamped(int a, int b, int c, int d) function in struct:uint8x4_t 251 return uint8x4_t::clamped((r+b) >> 1, (g+b) >> 1, b, a); 1033 e1 = uint8x4_t::clamped(v0+v1, v0+v1, v0+v1, v2+v3); 1056 e1 = uint8x4_t::clamped(v0+v1, v2+v3, v4+v5, 0xff); 1084 e1 = uint8x4_t::clamped(v0+v1, v2+v3, v4+v5, v6+v7);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| device9.c | 1575 boolean scaled, clamped, ms, flip_x = FALSE, flip_y = FALSE; local 1726 clamped = !!xy; 1732 if (clamped || scaled || (blit.dst.format != blit.src.format) || ms) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| texcompress_astc.cpp | 232 static uint8x4_t clamped(int a, int b, int c, int d) function in struct:uint8x4_t 250 return uint8x4_t::clamped((r+b) >> 1, (g+b) >> 1, b, a); 1032 e1 = uint8x4_t::clamped(v0+v1, v0+v1, v0+v1, v2+v3); 1055 e1 = uint8x4_t::clamped(v0+v1, v2+v3, v4+v5, 0xff); 1083 e1 = uint8x4_t::clamped(v0+v1, v2+v3, v4+v5, v6+v7);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| ac_nir_to_llvm.c | 4677 * depth texture, then D_t and D_ref are clamped to the 4681 * so the depth comparison value isn't clamped for Z16 and 4683 * an explicitly clamped 32-bit float format. 4687 LLVMValueRef upgraded, clamped; local 4693 clamped = ac_build_clamp(&ctx->ac, args.compare); 4694 args.compare = LLVMBuildSelect(ctx->ac.builder, upgraded, clamped, args.compare, "");
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/ |
| tgsi_exec.c | 419 union tgsi_exec_channel clamped; local 423 clamped.f[i] = 127.99999f; 425 clamped.f[i] = -126.99999f; 427 clamped.f[i] = src->f[i]; 430 src = &clamped;
|