Home
last modified time | relevance | path

Searched refs:blend_func (Results 1 – 25 of 66) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blending.c101 can_use_fixed_function_blend(unsigned blend_func, in can_use_fixed_function_blend() argument
105 if (blend_func != PIPE_BLEND_ADD && in can_use_fixed_function_blend()
106 blend_func != PIPE_BLEND_SUBTRACT && in can_use_fixed_function_blend()
107 blend_func != PIPE_BLEND_REVERSE_SUBTRACT) in can_use_fixed_function_blend()
163 to_panfrost_function(unsigned blend_func, in to_panfrost_function() argument
168 if (!can_use_fixed_function_blend(blend_func, src_factor, dest_factor)) in to_panfrost_function()
174 if (blend_func == PIPE_BLEND_SUBTRACT) in to_panfrost_function()
180 if (blend_func == PIPE_BLEND_SUBTRACT) in to_panfrost_function()
182 else if (blend_func == PIPE_BLEND_REVERSE_SUBTRACT) in to_panfrost_function()
188 if (blend_func == PIPE_BLEND_REVERSE_SUBTRACT) in to_panfrost_function()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c38 blend_func(unsigned func) in blend_func() function
83 A2XX_RB_BLEND_CONTROL_COLOR_COMB_FCN(blend_func(rt->rgb_func)) | in fd2_blend_state_create()
93 A2XX_RB_BLEND_CONTROL_ALPHA_COMB_FCN(blend_func(rt->alpha_func)) | in fd2_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c39 blend_func(unsigned func) in blend_func() function
87 A3XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd3_blend_state_create()
90 A3XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(blend_func(rt->alpha_func)) | in fd3_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c37 blend_func(unsigned func) in blend_func() function
86 A4XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd4_blend_state_create()
89 A4XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(blend_func(rt->alpha_func)) | in fd4_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c38 blend_func(unsigned func) in blend_func() function
89 A5XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd5_blend_state_create()
92 A5XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(blend_func(rt->alpha_func)) | in fd5_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blend.c40 blend_func(unsigned func) in blend_func() function
91 .rgb_blend_opcode = blend_func(rt->rgb_func), in __fd6_setup_blend_variant()
94 .alpha_blend_opcode = blend_func(rt->alpha_func), in __fd6_setup_blend_variant()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state_inlines.h41 static inline uint32_t r300_translate_blend_function(int blend_func, in r300_translate_blend_function() argument
44 switch (blend_func) { in r300_translate_blend_function()
56 fprintf(stderr, "r300: Unknown blend function %d\n", blend_func); in r300_translate_blend_function()
/external/mesa3d/src/gallium/drivers/panfrost/nir/
Dnir_lower_blend.h36 enum blend_func func;
Dnir_lower_blend.c43 enum blend_func func, in nir_blend_func()
65 nir_blend_factored(enum blend_func func) in nir_blend_factored()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.h270 swr_convert_blend_func(const UINT blend_func) in swr_convert_blend_func() argument
272 switch (blend_func) { in swr_convert_blend_func()
/external/mesa3d/src/gallium/auxiliary/util/
Du_blend.h30 static inline enum blend_func
Du_dump_defines.c212 DEFINE_UTIL_STR_CONTINUOUS(blend_func)
/external/deqp/modules/gles2/functional/
Des2fNegativeFragmentApiTests.cpp169 ES2F_ADD_API_CASE(blend_func, "Invalid glBlendFunc() usage", in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeFragmentApiTests.cpp204 void blend_func (NegativeTestContext& ctx) in blend_func() function
489 {blend_func, "blend_func", "Invalid glBlendFunc() usage" }, in getNegativeFragmentApiTestFunctions()
/external/igt-gpu-tools/tools/null_state_gen/
Dintel_renderstate_gen7.c148 blend.blend0.blend_func = GEN6_BLENDFUNCTION_ADD; in gen7_create_blend_state()
Dintel_renderstate_gen6.c365 blend.blend0.blend_func = GEN6_BLENDFUNCTION_ADD; in gen6_create_cc_blend()
/external/deqp/modules/gles3/functional/
Des3fNegativeFragmentApiTests.cpp158 ES3F_ADD_API_CASE(blend_func, "Invalid glBlendFunc() usage", in init()
/external/mesa3d/src/compiler/
Dshader_enums.h833 enum blend_func enum
/external/igt-gpu-tools/lib/
Drendercopy_gen6.c424 blend->blend0.blend_func = GEN6_BLENDFUNCTION_ADD; in gen6_create_cc_blend()
Drendercopy_gen7.c237 blend->blend0.blend_func = GEN6_BLENDFUNCTION_ADD; in gen7_create_blend_state()
Dgen6_render.h800 uint32_t blend_func:3; member
/external/deqp/modules/gles2/performance/
Des2pStateChangeCallTests.cpp415 ADD_ARG_CASE2(blend_func, "Test cost of glBlendFunc() calls", in init()
/external/igt-gpu-tools/assembler/
Dbrw_structs.h199 unsigned blend_func:3; member
/external/deqp/modules/gles3/performance/
Des3pStateChangeCallTests.cpp450 ADD_ARG_CASE2(blend_func, "Test cost of glBlendFunc() calls", in init()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c267 static uint32_t si_translate_blend_function(int blend_func) in si_translate_blend_function() argument
269 switch (blend_func) { in si_translate_blend_function()
281 PRINT_ERR("Unknown blend function %d\n", blend_func); in si_translate_blend_function()
337 static uint32_t si_translate_blend_opt_function(int blend_func) in si_translate_blend_opt_function() argument
339 switch (blend_func) { in si_translate_blend_opt_function()

123