/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_helpers.c | 530 union pipe_color_union clamp_color = *color; in util_clamp_color() local 537 clamp_color.ui[i] = _mesa_unorm_to_unorm(clamp_color.ui[i], bits, bits); in util_clamp_color() 539 clamp_color.i[i] = _mesa_snorm_to_snorm(clamp_color.i[i], bits, bits); in util_clamp_color() 541 clamp_color.ui[i] = _mesa_unsigned_to_unsigned(clamp_color.ui[i], bits); in util_clamp_color() 543 clamp_color.i[i] = _mesa_signed_to_signed(clamp_color.i[i], bits); in util_clamp_color() 546 return clamp_color; in util_clamp_color()
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.cpp | 203 const Sk4f clamp_color = pack_color(xformedColors.fColors[first_index], in init() local 206 fIntervals.emplace_back(clamp_color, clamp_pos, in init() 207 clamp_color, first_pos); in init() 225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init() local 228 fIntervals.emplace_back(clamp_color, last_pos, in init() 229 clamp_color, clamp_pos); in init()
|
/third_party/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.cpp | 203 const Sk4f clamp_color = pack_color(xformedColors.fColors[first_index], in init() local 206 fIntervals.emplace_back(clamp_color, clamp_pos, in init() 207 clamp_color, first_pos); in init() 225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init() local 228 fIntervals.emplace_back(clamp_color, last_pos, in init() 229 clamp_color, clamp_pos); in init()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_shader.c | 153 key.clamp_color = st->clamp_frag_color_in_shader && in st_update_fp() 220 key.clamp_color = st->clamp_vert_color_in_shader && in st_update_vp() 275 key.clamp_color = st->clamp_vert_color_in_shader && in st_update_common_program()
|
D | st_program.h | 167 GLuint clamp_color:1; member 234 bool clamp_color; member
|
D | st_program.c | 697 if (key->clamp_color) { in st_create_common_variant() 797 key->clamp_color ? "clamp_color," : "", in st_get_common_variant() 909 if (key->clamp_color) { in st_create_fp_variant() 1095 key->clamp_color ? "clamp_color," : "", in st_get_fp_variant() 1275 key.clamp_color = true; in st_precompile_shader_variant()
|
D | st_cb_bitmap.c | 182 key.clamp_color = st->clamp_frag_color_in_shader && in setup_render_state()
|
D | st_cb_drawpixels.c | 1148 key.clamp_color = st->clamp_frag_color_in_shader && in get_color_fp_variant() 1178 key.clamp_color = st->clamp_frag_color_in_shader && in get_color_index_fp_variant()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_clear.c | 143 clamp_color(const struct util_format_description *desc, union pipe_color_union *dst, const union pi… in clamp_color() function 292 clamp_color(desc, &clear->color, pcolor, i); in zink_clear()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.h | 605 unsigned clamp_color : 1; member
|
D | si_shader_llvm_ps.c | 402 if (ctx->shader->key.ps.part.epilog.clamp_color) in si_llvm_build_clamp_alpha_test()
|
D | si_shader.c | 1305 fprintf(f, " epilog.clamp_color = %u\n", key->ps.part.epilog.clamp_color); in si_dump_shader_key()
|
D | si_state_shaders.cpp | 2365 key->ps.part.epilog.clamp_color = rs->clamp_fragment_color; in si_ps_key_update_rasterizer()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_compiler.h | 484 bool clamp_color; member
|