Home
last modified time | relevance | path

Searched refs:clear_color (Results 1 – 25 of 197) sorted by relevance

12345678

/external/mesa3d/src/intel/blorp/
Dblorp_clear.c71 BLORP_CREATE_NIR_INPUT(b.shader, clear_color, glsl_vec4_type()); in blorp_params_get_clear_kernel()
353 memset(&params.wm_inputs.clear_color, 0xff, 4*sizeof(float)); in blorp_fast_clear()
369 params.dst.clear_color = in blorp_fast_clear()
370 isl_color_value_swizzle_inv(params.dst.clear_color, swizzle); in blorp_fast_clear()
381 union isl_color_value clear_color, in blorp_clear() argument
392 clear_color = isl_color_value_swizzle_inv(clear_color, swizzle); in blorp_clear()
397 clear_color.u32[0] = float3_to_rgb9e5(clear_color.f32); in blorp_clear()
400 clear_color.f32[0] = util_format_linear_to_srgb_float(clear_color.f32[0]); in blorp_clear()
407 clear_color = isl_color_value_swizzle_inv(clear_color, ARGB); in blorp_clear()
412 clear_color.f32[0] = util_format_linear_to_srgb_float(clear_color.f32[0]); in blorp_clear()
[all …]
Dblorp_genX_exec.h1450 .clear_color = surface->clear_color, in blorp_emit_surface_state()
1661 info.depth_clear_value = params->depth.clear_color.f32[0]; in blorp_emit_depth_stencil_config()
1751 assert(params->depth.clear_color.f32[0] >= 0.0f); in blorp_emit_gen8_hiz_op()
1752 assert(params->depth.clear_color.f32[0] <= 1.0f); in blorp_emit_gen8_hiz_op()
1887 dw[2] = info->clear_color.u32[0]; in blorp_update_clear_color()
1889 dw[4] = info->clear_color.u32[1]; in blorp_update_clear_color()
1901 dw[2] = info->clear_color.u32[2]; in blorp_update_clear_color()
1903 dw[4] = info->clear_color.u32[3]; in blorp_update_clear_color()
1919 union isl_color_value fixed_color = info->clear_color; in blorp_update_clear_color()
1921 isl_color_value_pack(&info->clear_color, info->surf.format, in blorp_update_clear_color()
[all …]
Dblorp.h109 union isl_color_value clear_color; member
177 union isl_color_value clear_color,
221 bool clear_color, union isl_color_value color_value,
/external/mesa3d/src/gallium/tests/graw/
Dfs-frontface.c153 union pipe_color_union clear_color; in draw() local
155 clear_color.f[0] = 0.25; in draw()
156 clear_color.f[1] = 0.25; in draw()
157 clear_color.f[2] = 0.25; in draw()
158 clear_color.f[3] = 1.00; in draw()
163 &clear_color, 1.0, 0); in draw()
Dfs-write-z.c158 union pipe_color_union clear_color; in draw() local
160 clear_color.f[0] = 0.25; in draw()
161 clear_color.f[1] = 0.25; in draw()
162 clear_color.f[2] = 0.25; in draw()
163 clear_color.f[3] = 1.00; in draw()
168 &clear_color, 1.0, 0); in draw()
Dfs-fragcoord.c179 union pipe_color_union clear_color; in draw() local
181 clear_color.f[0] = 0.25; in draw()
182 clear_color.f[1] = 0.25; in draw()
183 clear_color.f[2] = 0.25; in draw()
184 clear_color.f[3] = 1.0; in draw()
189 &clear_color, 1.0, 0); in draw()
Dtex-srgb.c123 union pipe_color_union clear_color; in draw() local
125 clear_color.f[0] = 0.5; in draw()
126 clear_color.f[1] = 0.5; in draw()
127 clear_color.f[2] = 0.5; in draw()
128 clear_color.f[3] = 1.0; in draw()
130 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
Dtex-swizzle.c103 union pipe_color_union clear_color; in draw() local
105 clear_color.f[0] = 0.5; in draw()
106 clear_color.f[1] = 0.5; in draw()
107 clear_color.f[2] = 0.5; in draw()
108 clear_color.f[3] = 1.0; in draw()
110 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
Docclusion-query.c159 union pipe_color_union clear_color; in draw() local
164 clear_color.f[0] = 0.25; in draw()
165 clear_color.f[1] = 0.25; in draw()
166 clear_color.f[2] = 0.25; in draw()
167 clear_color.f[3] = 1.00; in draw()
172 &clear_color, 1.0, 0); in draw()
Dclear.c29 union pipe_color_union clear_color = { {1, 0, 1, 1} }; in draw() local
31 ctx->clear(ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
Dtri-large.c107 union pipe_color_union clear_color = { {1,0,1,1} }; in draw() local
109 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
Dtri.c104 union pipe_color_union clear_color = { {1,0,1,1} }; in draw() local
106 info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0); in draw()
/external/mesa3d/src/gallium/drivers/i915/
Di915_clear.c49 uint32_t clear_params, clear_color, clear_depth, clear_stencil, in i915_clear_emit() local
68 clear_color = u_color.ui[0]; in i915_clear_emit()
71 clear_color = (u_color.ui[0] & 0xffff) | (u_color.ui[0] << 16); in i915_clear_emit()
82 clear_color = clear_color8888 = 0; in i915_clear_emit()
138 OUT_BATCH(clear_color); in i915_clear_emit()
157 OUT_BATCH(clear_color); in i915_clear_emit()
189 OUT_BATCH(clear_color); in i915_clear_emit()
/external/mesa3d/src/intel/isl/
Disl_surface_state.c777 s.RedClearColor = info->clear_color.u32[0]; in isl_genX()
778 s.GreenClearColor = info->clear_color.u32[1]; in isl_genX()
779 s.BlueClearColor = info->clear_color.u32[2]; in isl_genX()
780 s.AlphaClearColor = info->clear_color.u32[3]; in isl_genX()
788 assert(info->clear_color.u32[i] == 0 || in isl_genX()
789 info->clear_color.u32[i] == 1); in isl_genX()
791 s.RedClearColor = info->clear_color.u32[0] != 0; in isl_genX()
792 s.GreenClearColor = info->clear_color.u32[1] != 0; in isl_genX()
793 s.BlueClearColor = info->clear_color.u32[2] != 0; in isl_genX()
794 s.AlphaClearColor = info->clear_color.u32[3] != 0; in isl_genX()
[all …]
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c78 union pipe_color_union clear_color; member
102 p->clear_color.f[0] = 0.3; in init_prog()
103 p->clear_color.f[1] = 0.1; in init_prog()
104 p->clear_color.f[2] = 0.3; in init_prog()
105 p->clear_color.f[3] = 1.0; in init_prog()
249 p->pipe->clear(p->pipe, PIPE_CLEAR_COLOR, NULL, &p->clear_color, 0, 0); in draw()
Dquad-tex.c82 union pipe_color_union clear_color; member
108 p->clear_color.f[0] = 0.3; in init_prog()
109 p->clear_color.f[1] = 0.1; in init_prog()
110 p->clear_color.f[2] = 0.3; in init_prog()
111 p->clear_color.f[3] = 1.0; in init_prog()
313 p->pipe->clear(p->pipe, PIPE_CLEAR_COLOR, NULL, &p->clear_color, 0, 0); in draw()
/external/mesa3d/src/gallium/drivers/iris/
Diris_clear.c211 bool color_changed = !!memcmp(&res->aux.clear_color, &color, in fast_clear_color()
272 res->aux.clear_color.f32[0], in fast_clear_color()
273 res->aux.clear_color.f32[1], in fast_clear_color()
274 res->aux.clear_color.f32[2], in fast_clear_color()
275 res->aux.clear_color.f32[3], in fast_clear_color()
339 clear_color(struct iris_context *ice, in clear_color() function
469 if (res->aux.clear_color.f32[0] != depth) { in fast_clear_depth()
697 clear_color(ice, psurf->texture, psurf->u.tex.level, &box, in iris_clear()
768 clear_color(ice, p_res, level, box, true, format, in iris_clear_texture()
797 clear_color(ice, psurf->texture, psurf->u.tex.level, &box, in iris_clear_render_target()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_sfbd.c64 sfbd->clear_color_0 = batch->clear_color[0][0]; in panfrost_sfbd_clear()
65 sfbd->clear_color_1 = batch->clear_color[0][1]; in panfrost_sfbd_clear()
66 sfbd->clear_color_2 = batch->clear_color[0][2]; in panfrost_sfbd_clear()
67 sfbd->clear_color_3 = batch->clear_color[0][3]; in panfrost_sfbd_clear()
Dpan_mfbd.c223 rt.clear.color_0 = batch->clear_color[rt_idx][0]; in panfrost_mfbd_emit_rt()
224 rt.clear.color_1 = batch->clear_color[rt_idx][1]; in panfrost_mfbd_emit_rt()
225 rt.clear.color_2 = batch->clear_color[rt_idx][2]; in panfrost_mfbd_emit_rt()
226 rt.clear.color_3 = batch->clear_color[rt_idx][3]; in panfrost_mfbd_emit_rt()
266 ext->crc_clear_color = batch->clear_color[0][0] | in panfrost_mfbd_zs_crc_ext_set_bufs()
268 … ((uint64_t)batch->clear_color[0][0] & 0xffff) << 32; in panfrost_mfbd_zs_crc_ext_set_bufs()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c801 VkClearColorValue clear_color, in emit_color_clear_rect() argument
925 &clear_color); in emit_color_clear_rect()
975 VkClearColorValue clear_color; in emit_ds_clear_rect() local
995 clear_color.uint32[0] = clear_zs >> 24; in emit_ds_clear_rect()
1001 clear_color.uint32[1] = (clear_zs >> 0) & 0xff; in emit_ds_clear_rect()
1002 clear_color.uint32[2] = (clear_zs >> 8) & 0xff; in emit_ds_clear_rect()
1003 clear_color.uint32[3] = (clear_zs >> 16) & 0xff; in emit_ds_clear_rect()
1008 clear_color.uint32[0] = clear_zs; in emit_ds_clear_rect()
1013 clear_color, rect); in emit_ds_clear_rect()
1026 const VkClearColorValue *clear_color, in emit_subpass_color_clear_rects() argument
[all …]
/external/mesa3d/src/intel/tools/
Daubinator_viewer.h10 ImColor clear_color; member
18 clear_color(114, 144, 154), in aub_viewer_cfg()
/external/autotest/client/site_tests/graphics_dEQP/master/
Dbvt.txt8 dEQP-GLES2.functional.prerequisite.clear_color
17 dEQP-GLES3.functional.prerequisite.clear_color
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_draw.c572 uint32_t clear_color; in vc4_clear() local
578 clear_color = pack_rgba(PIPE_FORMAT_R8G8B8A8_UNORM, in vc4_clear()
584 clear_color = in vc4_clear()
588 job->clear_color[0] = job->clear_color[1] = clear_color; in vc4_clear()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_bicubic_filter.c395 union pipe_color_union clear_color; in vl_bicubic_filter_render() local
411 clear_color.f[0] = clear_color.f[1] = 0.0f; in vl_bicubic_filter_render()
412 clear_color.f[2] = clear_color.f[3] = 0.0f; in vl_bicubic_filter_render()
446 filter->pipe->clear_render_target(filter->pipe, dst, &clear_color, in vl_bicubic_filter_render()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3dx_rcl.c734 clear.clear_color_low_32_bits = job->clear_color[i][0]; in v3dX()
735 clear.clear_color_next_24_bits = job->clear_color[i][1] & 0xffffff; in v3dX()
743 ((job->clear_color[i][1] >> 24) | in v3dX()
744 (job->clear_color[i][2] << 8)); in v3dX()
746 ((job->clear_color[i][2] >> 24) | in v3dX()
747 ((job->clear_color[i][3] & 0xffff) << 8)); in v3dX()
756 clear.clear_color_high_16_bits = job->clear_color[i][3] >> 16; in v3dX()

12345678