Home
last modified time | relevance | path

Searched refs:color_mask (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-blend.c48 .color_mask = 0xF,
62 .color_mask = 0xF,
81 .color_mask = 0xF,
101 .color_mask = 0xF,
120 .color_mask = 0xF,
140 .color_mask = 0xF,
159 .color_mask = 0xF,
177 .color_mask = 0x3,
191 .color_mask = 0xA,
209 .color_mask = 0xF,
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_blit.h137 uint16_t color_mask = 0; in nv50_blit_derive_color_mask() local
144 color_mask |= 0x1000; in nv50_blit_derive_color_mask()
146 color_mask |= 0x0111; in nv50_blit_derive_color_mask()
152 color_mask |= 0x0001; in nv50_blit_derive_color_mask()
154 color_mask |= 0x1110; in nv50_blit_derive_color_mask()
157 if (mask & (PIPE_MASK_R | PIPE_MASK_Z)) color_mask |= 0x0001; in nv50_blit_derive_color_mask()
158 if (mask & (PIPE_MASK_G | PIPE_MASK_S)) color_mask |= 0x0010; in nv50_blit_derive_color_mask()
159 if (mask & PIPE_MASK_B) color_mask |= 0x0100; in nv50_blit_derive_color_mask()
160 if (mask & PIPE_MASK_A) color_mask |= 0x1000; in nv50_blit_derive_color_mask()
164 return color_mask; in nv50_blit_derive_color_mask()
Dnv50_surface.c848 uint16_t color_mask; member
1208 PUSH_DATA (push, blit->color_mask); in nv50_blitctx_prepare_state()
1384 blit->color_mask = nv50_blit_derive_color_mask(info); in nv50_blit_3d()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c287 if (equation.color_mask != 0xF) in pan_blend_is_opaque()
347 if (eq.color_mask & 0x8) { in pan_blend_alpha_zero_nop()
352 if (eq.color_mask & 0x7) { in pan_blend_alpha_zero_nop()
385 if (eq.color_mask != 0xf) in pan_blend_alpha_one_store()
409 return (equation.color_mask && equation.color_mask != 0xF) || in pan_blend_reads_dest()
427 out->color_mask = equation.color_mask; in pan_blend_to_fixed_function_equation()
451 out->color_mask = equation.color_mask; in pan_blend_to_fixed_function_equation()
539 if (rt_state->equation.color_mask & 7) { in get_equation_str()
544 (rt_state->equation.color_mask & 1) ? "R" : "", in get_equation_str()
545 (rt_state->equation.color_mask & 2) ? "G" : "", in get_equation_str()
[all …]
Dpan_blend.h52 unsigned color_mask : 4; member
Dpan_blitter.c150 cfg.equation.color_mask = 0xf; in pan_blitter_emit_blend()
313 cfg.blend_equation.color_mask = 0xf; in pan_blitter_emit_rsd()
379 .color_mask = 0xf, in pan_blitter_get_blend_shaders()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c427 LLVMValueRef color_mask = in lp_build_blend_aos() local
431 lp_build_name(color_mask, "color_mask"); in lp_build_blend_aos()
439 mask = lp_build_and(&bld.base, color_mask, mask); in lp_build_blend_aos()
443 mask = color_mask; in lp_build_blend_aos()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c117 options.rt[rt].colormask = rt_state->equation.color_mask; in panvk_lower_blend()
144 rt_state->equation.color_mask = 0xf; in panvk_lower_blend()
Dpanvk_vX_pipeline.c560 out->equation.color_mask = in->colorWriteMask; in panvk_pipeline_builder_parse_color_blend()
712 if (blend->rts[i].equation.color_mask) in panvk_fs_required()
Dpanvk_vX_meta_clear.c114 cfg.equation.color_mask = 0xf; in panvk_meta_clear_color_attachment_emit_rsd()
Dpanvk_vX_cs.c614 if (!blend->rt_count || !rts->equation.color_mask) { in panvk_per_arch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProcess.inc418 const WORD color_mask = foreground_mask | background_mask;
430 new_attributes = (attributes & ~color_mask) | (new_attributes & color_mask);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProcess.inc418 const WORD color_mask = foreground_mask | background_mask;
430 new_attributes = (attributes & ~color_mask) | (new_attributes & color_mask);
/third_party/libdrm/include/drm/
Dr128_drm.h262 unsigned int color_mask; member
Dmga_drm.h371 unsigned int color_mask; member
Dradeon_drm.h620 unsigned int color_mask; member
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pStateChangeCallTests.cpp810 ADD_ARG_CASE4(color_mask, "Test cost of glColorMask() calls", in init()
Des2pRedundantStateChangeTests.cpp735 ADD_TESTCASE(color_mask, "Change color mask.", in init()
Des2pStateChangeTests.cpp819 ADD_TESTCASE(color_mask, "Change color mask.", in init()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pStateChangeCallTests.cpp872 ADD_ARG_CASE4(color_mask, "Test cost of glColorMask() calls", in init()
Des3pRedundantStateChangeTests.cpp809 ADD_TESTCASE(color_mask, "Change color mask.", in init()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_surface.c818 uint16_t color_mask; member
1018 PUSH_DATA (push, blit->color_mask); in nvc0_blitctx_prepare_state()
1213 blit->color_mask = nv50_blit_derive_color_mask(info); in nvc0_blit_3d()
/third_party/mesa3d/src/gtest/src/
Dgtest.cc2942 static int GetBitOffset(WORD color_mask) { in GetBitOffset() argument
2943 if (color_mask == 0) return 0; in GetBitOffset()
2946 while ((color_mask & 1) == 0) { in GetBitOffset()
2947 color_mask >>= 1; in GetBitOffset()
/third_party/googletest/googletest/src/
Dgtest.cc3183 static int GetBitOffset(WORD color_mask) { in GetBitOffset() argument
3184 if (color_mask == 0) return 0; in GetBitOffset()
3187 while ((color_mask & 1) == 0) { in GetBitOffset()
3188 color_mask >>= 1; in GetBitOffset()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c590 cfg.blend_equation.color_mask = 0xf; in panfrost_prepare_fs_state()
4467 equation.color_mask = pipe.colormask; in panfrost_create_blend_state()
4487 .no_colour = (equation.color_mask == 0), in panfrost_create_blend_state()

12