Home
last modified time | relevance | path

Searched refs:clamp_color (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c530 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/
DSk4fGradientBase.cpp203 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/
DSk4fGradientBase.cpp203 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/
Dst_atom_shader.c153 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()
Dst_program.h167 GLuint clamp_color:1; member
234 bool clamp_color; member
Dst_program.c697 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()
Dst_cb_bitmap.c182 key.clamp_color = st->clamp_frag_color_in_shader && in setup_render_state()
Dst_cb_drawpixels.c1148 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/
Dzink_clear.c143 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/
Dsi_shader.h605 unsigned clamp_color : 1; member
Dsi_shader_llvm_ps.c402 if (ctx->shader->key.ps.part.epilog.clamp_color) in si_llvm_build_clamp_alpha_test()
Dsi_shader.c1305 fprintf(f, " epilog.clamp_color = %u\n", key->ps.part.epilog.clamp_color); in si_dump_shader_key()
Dsi_state_shaders.cpp2365 key->ps.part.epilog.clamp_color = rs->clamp_fragment_color; in si_ps_key_update_rasterizer()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_compiler.h484 bool clamp_color; member