Home
last modified time | relevance | path

Searched refs:SWIZZLE_ONE (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c270 case SWIZZLE_ONE: in swizzle_swizzle()
271 swz[i] = SWIZZLE_ONE; in swizzle_swizzle()
309 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in compute_texture_format_swizzle()
311 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
314 SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
319 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle()
330 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle()
356 SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
Dst_mesa_to_tgsi.c339 unsigned one_mask = ((GET_SWZ(SrcReg->Swizzle, 0) == SWIZZLE_ONE) << 0 | in emit_swz()
340 (GET_SWZ(SrcReg->Swizzle, 1) == SWIZZLE_ONE) << 1 | in emit_swz()
341 (GET_SWZ(SrcReg->Swizzle, 2) == SWIZZLE_ONE) << 2 | in emit_swz()
342 (GET_SWZ(SrcReg->Swizzle, 3) == SWIZZLE_ONE) << 3); in emit_swz()
/external/swiftshader/src/Renderer/
DSampler.hpp137 SWIZZLE_ONE, enumerator
139 SWIZZLE_LAST = SWIZZLE_ONE
/external/swiftshader/src/Device/
DSampler.hpp137 SWIZZLE_ONE, enumerator
139 SWIZZLE_LAST = SWIZZLE_ONE
/external/mesa3d/src/mesa/program/
Dprog_instruction.h54 #define SWIZZLE_ONE 5 /**< For SWZ instruction only */ macro
Dprog_execute.c1050 else if (swz == SWIZZLE_ONE) in _mesa_execute_program()
Dprog_to_nir.c244 } else if (swizzle == SWIZZLE_ONE) { in ptn_get_src()
Dir_to_mesa.cpp852 components[i] = SWIZZLE_ONE; in emit_swz()
856 components[i] = SWIZZLE_ONE; in emit_swz()
Dprogram_parse.y655 $$.swz = ($1 == 0) ? SWIZZLE_ZERO : SWIZZLE_ONE;
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c321 SWIZZLE_ONE, in brw_get_texture_swizzle()
350 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
362 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
386 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
411 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
Dintel_pixel_read.c245 swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in intel_readpixels_blorp()
Dbrw_wm.c349 if (src_comp == SWIZZLE_ONE || src_comp == SWIZZLE_W) { in brw_populate_sampler_prog_key_data()
351 key->swizzles[i] |= SWIZZLE_ONE << (3 * i); in brw_populate_sampler_prog_key_data()
Dbrw_program.c741 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_setup_tex_for_precompile()
Dbrw_blorp.c487 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE) : in blorp_get_texture_swizzle()
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c66 vector[SWIZZLE_ONE] = 1.0F; in swizzle_texel()
Ds_texcombine.c567 vector[SWIZZLE_ONE] = 1.0F; in swizzle_texels()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c53 SWIZZLE_ONE != VSF_IN_COMPONENT_ONE || \
604 src[i].Swizzle |= SWIZZLE_ONE << (j*3); in r200_translate_vertex_program()
622 src[i].Swizzle |= SWIZZLE_ONE << (j*3); in r200_translate_vertex_program()
/external/mesa3d/src/mesa/main/
Dformat_parser.py136 SWIZZLE_ONE = 5 variable in Swizzle
Dtexparam.c203 return SWIZZLE_ONE; in comp_to_swizzle()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp2219 case GL_ONE: return sw::SWIZZLE_ONE; in ConvertSwizzleType()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp31 case sw::SWIZZLE_ONE: s = sw::Short4(0x1000); break; in applySwizzle()
45 case sw::SWIZZLE_ONE: f = sw::Float4(1.0f, 1.0f, 1.0f, 1.0f); break; in applySwizzle()
/external/swiftshader/src/Shader/
DSamplerCore.cpp31 case sw::SWIZZLE_ONE: s = sw::Short4(0x1000); break; in applySwizzle()
45 case sw::SWIZZLE_ONE: f = sw::Float4(1.0f, 1.0f, 1.0f, 1.0f); break; in applySwizzle()