/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 138 uint16_t *bcolor = (uint16_t *)((uint8_t *)ptr + in fd_setup_border_colors() local 141 uint32_t *bcolor32 = (uint32_t *)&bcolor[16]; in fd_setup_border_colors() 166 bcolor[desc->swizzle[j] + 8] = sampler->border_color.i[j]; in fd_setup_border_colors() 169 bcolor[desc->swizzle[j]] = in fd_setup_border_colors()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_util.h | 303 tu6_pack_border_color(struct bcolor_entry *bcolor, const VkClearColorValue *val, bool is_int) in tu6_pack_border_color() argument 305 memcpy(bcolor->fp32, val, 4 * sizeof(float)); in tu6_pack_border_color() 307 pack_int16((uint32_t*) &bcolor->fp16, val->uint32); in tu6_pack_border_color() 311 ( (uint8_t*) (&bcolor->x), 0, val->float32, 0, 1, 1) in tu6_pack_border_color() 321 util_format_x8z24_unorm_pack_z_float((uint8_t*) &bcolor->z24, in tu6_pack_border_color()
|
D | tu_private.h | 342 struct bcolor_entry bcolor_builtin[TU_BORDER_COLOR_BUILTIN], bcolor[]; member
|
D | tu_device.c | 1817 tu6_pack_border_color(device->global_bo.map + gb_offset(bcolor[border_color]), in tu_init_sampler()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 741 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd4_emit_state() local 744 OUT_RING(ring, A4XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) | in fd4_emit_state() 745 A4XX_RB_BLEND_RED_UINT(bcolor->color[0] * 0xff) | in fd4_emit_state() 746 A4XX_RB_BLEND_RED_SINT(bcolor->color[0] * 0x7f)); in fd4_emit_state() 747 OUT_RING(ring, A4XX_RB_BLEND_RED_F32(bcolor->color[0])); in fd4_emit_state() 748 OUT_RING(ring, A4XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1]) | in fd4_emit_state() 749 A4XX_RB_BLEND_GREEN_UINT(bcolor->color[1] * 0xff) | in fd4_emit_state() 750 A4XX_RB_BLEND_GREEN_SINT(bcolor->color[1] * 0x7f)); in fd4_emit_state() 751 OUT_RING(ring, A4XX_RB_BLEND_RED_F32(bcolor->color[1])); in fd4_emit_state() 752 OUT_RING(ring, A4XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2]) | in fd4_emit_state() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_vs.c | 69 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()
|
D | r300_shader_semantics.h | 40 int bcolor[ATTR_COLOR_COUNT]; member 62 info->bcolor[i] = ATTR_UNUSED; in r300_shader_semantics_reset()
|
D | r300_state_derived.c | 94 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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 783 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd5_emit_state() local 786 OUT_RING(ring, A5XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) | in fd5_emit_state() 787 A5XX_RB_BLEND_RED_UINT(bcolor->color[0] * 0xff) | in fd5_emit_state() 788 A5XX_RB_BLEND_RED_SINT(bcolor->color[0] * 0x7f)); in fd5_emit_state() 789 OUT_RING(ring, A5XX_RB_BLEND_RED_F32(bcolor->color[0])); in fd5_emit_state() 790 OUT_RING(ring, A5XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1]) | in fd5_emit_state() 791 A5XX_RB_BLEND_GREEN_UINT(bcolor->color[1] * 0xff) | in fd5_emit_state() 792 A5XX_RB_BLEND_GREEN_SINT(bcolor->color[1] * 0x7f)); in fd5_emit_state() 793 OUT_RING(ring, A5XX_RB_BLEND_RED_F32(bcolor->color[1])); in fd5_emit_state() 794 OUT_RING(ring, A5XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2]) | in fd5_emit_state() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 804 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd3_emit_state() local 806 OUT_RING(ring, A3XX_RB_BLEND_RED_UINT(bcolor->color[0] * 255.0) | in fd3_emit_state() 807 A3XX_RB_BLEND_RED_FLOAT(bcolor->color[0])); in fd3_emit_state() 808 OUT_RING(ring, A3XX_RB_BLEND_GREEN_UINT(bcolor->color[1] * 255.0) | in fd3_emit_state() 809 A3XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1])); in fd3_emit_state() 810 OUT_RING(ring, A3XX_RB_BLEND_BLUE_UINT(bcolor->color[2] * 255.0) | in fd3_emit_state() 811 A3XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2])); in fd3_emit_state() 812 OUT_RING(ring, A3XX_RB_BLEND_ALPHA_UINT(bcolor->color[3] * 255.0) | in fd3_emit_state() 813 A3XX_RB_BLEND_ALPHA_FLOAT(bcolor->color[3])); in fd3_emit_state()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_sampler.c | 168 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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.c | 990 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd6_emit_state() local 995 A6XX_RB_BLEND_RED_F32(bcolor->color[0]), in fd6_emit_state() 996 A6XX_RB_BLEND_GREEN_F32(bcolor->color[1]), in fd6_emit_state() 997 A6XX_RB_BLEND_BLUE_F32(bcolor->color[2]), in fd6_emit_state() 998 A6XX_RB_BLEND_ALPHA_F32(bcolor->color[3]) in fd6_emit_state()
|
/external/angle/src/tests/ |
D | BUILD.gn | 563 "$gles1_conform_root/conform/conform/bcolor.c",
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 7306 radv_tex_bordercolor(VkBorderColor bcolor) in radv_tex_bordercolor() argument 7308 switch (bcolor) { in radv_tex_bordercolor()
|
/external/mesa3d/docs/relnotes/ |
D | 19.1.0.rst | 4106 - freedreno/a6xx: more bcolor fixes
|