Home
last modified time | relevance | path

Searched refs:bcolor (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c746 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd4_emit_state() local
749 OUT_RING(ring, A4XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) | in fd4_emit_state()
750 A4XX_RB_BLEND_RED_UINT(bcolor->color[0] * 0xff) | in fd4_emit_state()
751 A4XX_RB_BLEND_RED_SINT(bcolor->color[0] * 0x7f)); in fd4_emit_state()
752 OUT_RING(ring, A4XX_RB_BLEND_RED_F32(bcolor->color[0])); in fd4_emit_state()
753 OUT_RING(ring, A4XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1]) | in fd4_emit_state()
754 A4XX_RB_BLEND_GREEN_UINT(bcolor->color[1] * 0xff) | in fd4_emit_state()
755 A4XX_RB_BLEND_GREEN_SINT(bcolor->color[1] * 0x7f)); in fd4_emit_state()
756 OUT_RING(ring, A4XX_RB_BLEND_RED_F32(bcolor->color[1])); in fd4_emit_state()
757 OUT_RING(ring, A4XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2]) | in fd4_emit_state()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_util.h305 tu6_pack_border_color(struct bcolor_entry *bcolor, const VkClearColorValue *val, bool is_int) in tu6_pack_border_color() argument
307 memcpy(bcolor->fp32, val, 4 * sizeof(float)); in tu6_pack_border_color()
309 pack_int16((uint32_t*) &bcolor->fp16, val->uint32); in tu6_pack_border_color()
313 ( (uint8_t*) (&bcolor->x), 0, val->float32, 0, 1, 1) in tu6_pack_border_color()
323 util_format_x8z24_unorm_pack_z_float((uint8_t*) &bcolor->z24, in tu6_pack_border_color()
Dtu_private.h358 struct bcolor_entry bcolor_builtin[TU_BORDER_COLOR_BUILTIN], bcolor[]; member
Dtu_device.c2323 tu6_pack_border_color(device->global_bo.map + gb_offset(bcolor[border_color]), in tu_init_sampler()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_texture.c145 uint16_t *bcolor = in fd_setup_border_colors() local
148 uint32_t *bcolor32 = (uint32_t *)&bcolor[16]; in fd_setup_border_colors()
173 bcolor[desc->swizzle[j] + 8] = sampler->border_color.i[j]; in fd_setup_border_colors()
176 bcolor[desc->swizzle[j]] = in fd_setup_border_colors()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_vs.c69 vs_outputs->bcolor[index] = i; in r300_shader_read_vs_outputs()
112 boolean any_bcolor_used = outputs->bcolor[0] != ATTR_UNUSED || in set_vertex_inputs_outputs()
113 outputs->bcolor[1] != ATTR_UNUSED; in set_vertex_inputs_outputs()
150 if (outputs->bcolor[i] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
151 c->code->outputs[outputs->bcolor[i]] = reg++; in set_vertex_inputs_outputs()
Dr300_shader_semantics.h40 int bcolor[ATTR_COLOR_COUNT]; member
62 info->bcolor[i] = ATTR_UNUSED; in r300_shader_semantics_reset()
Dr300_state_derived.c94 if (vs_outputs->bcolor[i] != ATTR_UNUSED) { in r300_draw_emit_all_attribs()
95 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->bcolor[i]); in r300_draw_emit_all_attribs()
316 boolean any_bcolor_used = vs_outputs->bcolor[0] != ATTR_UNUSED || in r300_update_rs_block()
317 vs_outputs->bcolor[1] != ATTR_UNUSED; in r300_update_rs_block()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c834 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd5_emit_state() local
837 OUT_RING(ring, A5XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) | in fd5_emit_state()
838 A5XX_RB_BLEND_RED_UINT(bcolor->color[0] * 0xff) | in fd5_emit_state()
839 A5XX_RB_BLEND_RED_SINT(bcolor->color[0] * 0x7f)); in fd5_emit_state()
840 OUT_RING(ring, A5XX_RB_BLEND_RED_F32(bcolor->color[0])); in fd5_emit_state()
841 OUT_RING(ring, A5XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1]) | in fd5_emit_state()
842 A5XX_RB_BLEND_GREEN_UINT(bcolor->color[1] * 0xff) | in fd5_emit_state()
843 A5XX_RB_BLEND_GREEN_SINT(bcolor->color[1] * 0x7f)); in fd5_emit_state()
844 OUT_RING(ring, A5XX_RB_BLEND_RED_F32(bcolor->color[1])); in fd5_emit_state()
845 OUT_RING(ring, A5XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2]) | in fd5_emit_state()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c817 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd3_emit_state() local
819 OUT_RING(ring, A3XX_RB_BLEND_RED_UINT(bcolor->color[0] * 255.0) | in fd3_emit_state()
820 A3XX_RB_BLEND_RED_FLOAT(bcolor->color[0])); in fd3_emit_state()
821 OUT_RING(ring, A3XX_RB_BLEND_GREEN_UINT(bcolor->color[1] * 255.0) | in fd3_emit_state()
822 A3XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1])); in fd3_emit_state()
823 OUT_RING(ring, A3XX_RB_BLEND_BLUE_UINT(bcolor->color[2] * 255.0) | in fd3_emit_state()
824 A3XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2])); in fd3_emit_state()
825 OUT_RING(ring, A3XX_RB_BLEND_ALPHA_UINT(bcolor->color[3] * 255.0) | in fd3_emit_state()
826 A3XX_RB_BLEND_ALPHA_FLOAT(bcolor->color[3])); in fd3_emit_state()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c168 SVGA3dRGBAFloat bcolor; in define_sampler_state_object() local
183 COPY_4V(bcolor.value, ps->border_color.f); in define_sampler_state_object()
219 bcolor, in define_sampler_state_object()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.c803 struct pipe_blend_color *bcolor = &ctx->blend_color; in build_blend_color() local
807 OUT_REG(ring, A6XX_RB_BLEND_RED_F32(bcolor->color[0]), in build_blend_color()
808 A6XX_RB_BLEND_GREEN_F32(bcolor->color[1]), in build_blend_color()
809 A6XX_RB_BLEND_BLUE_F32(bcolor->color[2]), in build_blend_color()
810 A6XX_RB_BLEND_ALPHA_F32(bcolor->color[3])); in build_blend_color()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/
DBUILD.gn392 "$gles1_conform_root/conform/conform/bcolor.c",
/third_party/skia/third_party/externals/angle2/src/tests/
DBUILD.gn598 "$gles1_conform_root/conform/conform/bcolor.c",
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c7185 radv_tex_bordercolor(VkBorderColor bcolor) in radv_tex_bordercolor() argument
7187 switch (bcolor) { in radv_tex_bordercolor()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst4106 - freedreno/a6xx: more bcolor fixes