/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 145 uint16_t *bcolor = in fd_setup_border_colors() local 148 uint32_t *bcolor32 = (uint32_t *)&bcolor[16]; in fd_setup_border_colors() 191 bcolor[native + 8] = sampler->border_color.i[j]; in fd_setup_border_colors() 194 bcolor[native] = in fd_setup_border_colors()
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 886 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd4_emit_state() local 889 OUT_RING(ring, A4XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) | in fd4_emit_state() 890 A4XX_RB_BLEND_RED_UINT(CLAMP(bcolor->color[0], 0.f, 1.f) * 0xff) | in fd4_emit_state() 891 A4XX_RB_BLEND_RED_SINT(CLAMP(bcolor->color[0], -1.f, 1.f) * 0x7f)); in fd4_emit_state() 892 OUT_RING(ring, A4XX_RB_BLEND_RED_F32(bcolor->color[0])); in fd4_emit_state() 893 OUT_RING(ring, A4XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1]) | in fd4_emit_state() 894 A4XX_RB_BLEND_GREEN_UINT(CLAMP(bcolor->color[1], 0.f, 1.f) * 0xff) | in fd4_emit_state() 895 A4XX_RB_BLEND_GREEN_SINT(CLAMP(bcolor->color[1], -1.f, 1.f) * 0x7f)); in fd4_emit_state() 896 OUT_RING(ring, A4XX_RB_BLEND_GREEN_F32(bcolor->color[1])); in fd4_emit_state() 897 OUT_RING(ring, A4XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2]) | in fd4_emit_state() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 826 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd5_emit_state() local 829 OUT_RING(ring, A5XX_RB_BLEND_RED_FLOAT(bcolor->color[0]) | in fd5_emit_state() 830 A5XX_RB_BLEND_RED_UINT(CLAMP(bcolor->color[0], 0.f, 1.f) * 0xff) | in fd5_emit_state() 831 A5XX_RB_BLEND_RED_SINT(CLAMP(bcolor->color[0], -1.f, 1.f) * 0x7f)); in fd5_emit_state() 832 OUT_RING(ring, A5XX_RB_BLEND_RED_F32(bcolor->color[0])); in fd5_emit_state() 833 OUT_RING(ring, A5XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1]) | in fd5_emit_state() 834 A5XX_RB_BLEND_GREEN_UINT(CLAMP(bcolor->color[1], 0.f, 1.f) * 0xff) | in fd5_emit_state() 835 A5XX_RB_BLEND_GREEN_SINT(CLAMP(bcolor->color[1], -1.f, 1.f) * 0x7f)); in fd5_emit_state() 836 OUT_RING(ring, A5XX_RB_BLEND_RED_F32(bcolor->color[1])); in fd5_emit_state() 837 OUT_RING(ring, A5XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2]) | in fd5_emit_state() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_util.h | 352 tu6_pack_border_color(struct bcolor_entry *bcolor, const VkClearColorValue *val, bool is_int) in tu6_pack_border_color() argument 354 memcpy(bcolor->fp32, val, 4 * sizeof(float)); in tu6_pack_border_color() 356 pack_int16((uint32_t*) &bcolor->fp16, val->uint32); in tu6_pack_border_color() 360 ( (uint8_t*) (&bcolor->x), 0, val->float32, 0, 1, 1) in tu6_pack_border_color() 370 util_format_z24x8_unorm_pack_z_float((uint8_t*) &bcolor->z24, in tu6_pack_border_color()
|
D | tu_device.h | 199 struct bcolor_entry bcolor_builtin[TU_BORDER_COLOR_BUILTIN], bcolor[]; member
|
D | tu_device.c | 2759 tu6_pack_border_color(device->global_bo->map + gb_offset(bcolor[border_color]), in tu_init_sampler()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 808 struct pipe_blend_color *bcolor = &ctx->blend_color; in fd3_emit_state() local 810 OUT_RING(ring, A3XX_RB_BLEND_RED_UINT(CLAMP(bcolor->color[0], 0.f, 1.f) * 0xff) | in fd3_emit_state() 811 A3XX_RB_BLEND_RED_FLOAT(bcolor->color[0])); in fd3_emit_state() 812 OUT_RING(ring, A3XX_RB_BLEND_GREEN_UINT(CLAMP(bcolor->color[1], 0.f, 1.f) * 0xff) | in fd3_emit_state() 813 A3XX_RB_BLEND_GREEN_FLOAT(bcolor->color[1])); in fd3_emit_state() 814 OUT_RING(ring, A3XX_RB_BLEND_BLUE_UINT(CLAMP(bcolor->color[2], 0.f, 1.f) * 0xff) | in fd3_emit_state() 815 A3XX_RB_BLEND_BLUE_FLOAT(bcolor->color[2])); in fd3_emit_state() 816 OUT_RING(ring, A3XX_RB_BLEND_ALPHA_UINT(CLAMP(bcolor->color[3], 0.f, 1.f) * 0xff) | in fd3_emit_state() 817 A3XX_RB_BLEND_ALPHA_FLOAT(bcolor->color[3])); in fd3_emit_state()
|
/third_party/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()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.c | 815 struct pipe_blend_color *bcolor = &ctx->blend_color; in build_blend_color() local 819 OUT_REG(ring, A6XX_RB_BLEND_RED_F32(bcolor->color[0]), in build_blend_color() 820 A6XX_RB_BLEND_GREEN_F32(bcolor->color[1]), in build_blend_color() 821 A6XX_RB_BLEND_BLUE_F32(bcolor->color[2]), in build_blend_color() 822 A6XX_RB_BLEND_ALPHA_F32(bcolor->color[3])); in build_blend_color()
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
D | BUILD.gn | 598 "$gles1_conform_root/conform/conform/bcolor.c",
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 6808 radv_tex_bordercolor(VkBorderColor bcolor) in radv_tex_bordercolor() argument 6810 switch (bcolor) { in radv_tex_bordercolor()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.1.0.rst | 4106 - freedreno/a6xx: more bcolor fixes
|