Home
last modified time | relevance | path

Searched refs:dithered (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/
H A Dpan_clear.c58 * dithering, the fractional bits are used. When not dithered, only the integer
119 enum pipe_format format, bool dithered) in pan_pack_color()
160 uint32_t ur = float_to_fixed(r, l.int_r, l.frac_r, dithered) << 0; in pan_pack_color()
161 uint32_t ug = float_to_fixed(g, l.int_g, l.frac_g, dithered) << count_r; in pan_pack_color()
162 uint32_t ub = float_to_fixed(b, l.int_b, l.frac_b, dithered) << count_g; in pan_pack_color()
163 uint32_t ua = float_to_fixed(a, l.int_a, l.frac_a, dithered) << count_b; in pan_pack_color()
118 pan_pack_color(uint32_t *packed, const union pipe_color_union *color, enum pipe_format format, bool dithered) pan_pack_color() argument
H A Dpan_util.c76 bool dithered) in panfrost_format_to_bifrost_blend()
79 panfrost_blendable_formats_v7[format].bifrost[dithered] : in panfrost_format_to_bifrost_blend()
80 panfrost_blendable_formats_v6[format].bifrost[dithered]; in panfrost_format_to_bifrost_blend()
74 panfrost_format_to_bifrost_blend(const struct panfrost_device *dev, enum pipe_format format, bool dithered) panfrost_format_to_bifrost_blend() argument
H A Dpan_util.h66 bool dithered);
70 enum pipe_format format, bool dithered);
H A Dpan_blend.h177 unsigned force_size, bool dithered);
H A Dpan_blend.c710 unsigned force_size, bool dithered) in pan_blend_get_internal_desc()
757 panfrost_format_to_bifrost_blend(dev, fmt, dithered); in pan_blend_get_internal_desc()
708 pan_blend_get_internal_desc(const struct panfrost_device *dev, enum pipe_format fmt, unsigned rt, unsigned force_size, bool dithered) pan_blend_get_internal_desc() argument
/third_party/mesa3d/src/panfrost/lib/tests/
H A Dtest-clear.c31 bool dithered; member
116 * cannot be dithered. */
147 util_format_short_name(T.format), T.dithered ? " dithered" : "", #x, x[0], x[1], x[2], x[3], #y, y[0], y[1], y[2], y[3]); \
158 pan_pack_color(&packed[0], &T.colour, T.format, T.dithered); in main()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_cs.c611 bool dithered = false; in emit_blend() local
622 cfg.round_to_fb_precision = !dithered; in emit_blend()
658 panfrost_format_to_bifrost_blend(pdev, rts->format, dithered); in emit_blend()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c351 bool dithered = so->base.dither; in panfrost_emit_blend() local
378 cfg.round_to_fb_precision = !dithered; in panfrost_emit_blend()
437 panfrost_format_to_bifrost_blend(dev, format, dithered); in panfrost_emit_blend()

Completed in 12 milliseconds