Home
last modified time | relevance | path

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

/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()
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/
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/a4xx/
Dfd4_emit.c886 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/
Dfd5_emit.c826 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/
Dtu_util.h352 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()
Dtu_device.h199 struct bcolor_entry bcolor_builtin[TU_BORDER_COLOR_BUILTIN], bcolor[]; member
Dtu_device.c2759 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/
Dfd3_emit.c808 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/
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.c815 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/
DBUILD.gn598 "$gles1_conform_root/conform/conform/bcolor.c",
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c6808 radv_tex_bordercolor(VkBorderColor bcolor) in radv_tex_bordercolor() argument
6810 switch (bcolor) { in radv_tex_bordercolor()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst4106 - freedreno/a6xx: more bcolor fixes