Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c332 case SWIZZLE_ONE: in swizzle_swizzle()
333 swz[i] = SWIZZLE_ONE; in swizzle_swizzle()
371 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in compute_texture_format_swizzle()
373 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
376 SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
381 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle()
392 return MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in compute_texture_format_swizzle()
418 SWIZZLE_ZERO, SWIZZLE_ONE); in compute_texture_format_swizzle()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSampler.hpp137 SWIZZLE_ONE, enumerator
139 SWIZZLE_LAST = SWIZZLE_ONE
/third_party/mesa3d/src/mesa/program/
Dprog_instruction.h54 #define SWIZZLE_ONE 5 /**< For SWZ instruction only */ macro
Dprog_to_nir.c221 } else if (swizzle == SWIZZLE_ONE) { in ptn_get_src()
Dprog_execute.c1054 else if (swz == SWIZZLE_ONE) in _mesa_execute_program()
Dir_to_mesa.cpp777 components[i] = SWIZZLE_ONE; in emit_swz()
781 components[i] = SWIZZLE_ONE; in emit_swz()
Dprogram_parse.y667 $$.swz = ($1 == 0) ? SWIZZLE_ZERO : SWIZZLE_ONE;
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c335 SWIZZLE_ONE, in brw_get_texture_swizzle()
364 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
376 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
400 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
424 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
433 swizzles[3] = SWIZZLE_ONE; in brw_get_texture_swizzle()
Dbrw_pixel_read.c244 swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE); in brw_readpixels_blorp()
Dbrw_wm.c262 if (src_comp == SWIZZLE_ONE || src_comp == SWIZZLE_W) { in brw_populate_sampler_prog_key_data()
264 key->swizzles[i] |= SWIZZLE_ONE << (3 * i); in brw_populate_sampler_prog_key_data()
Dbrw_program.c750 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_X, SWIZZLE_X, SWIZZLE_ONE); in brw_setup_tex_for_precompile()
Dbrw_blorp.c562 MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE) : in blorp_get_texture_swizzle()
/third_party/mesa3d/src/mesa/swrast/
Ds_fragprog.c66 vector[SWIZZLE_ONE] = 1.0F; in swizzle_texel()
Ds_texcombine.c568 vector[SWIZZLE_ONE] = 1.0F; in swizzle_texels()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c55 SWIZZLE_ONE != VSF_IN_COMPONENT_ONE || \
608 src[i].Swizzle |= SWIZZLE_ONE << (j*3); in r200_translate_vertex_program()
626 src[i].Swizzle |= SWIZZLE_ONE << (j*3); in r200_translate_vertex_program()
/third_party/mesa3d/src/mesa/main/
Dformat_parser.py142 SWIZZLE_ONE = 5 variable in Swizzle
Dtexparam.c187 return SWIZZLE_ONE; in comp_to_swizzle()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp2166 case GL_ONE: return sw::SWIZZLE_ONE; in ConvertSwizzleType()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c190 if (src_comp == SWIZZLE_ONE || src_comp == SWIZZLE_W) { in crocus_populate_sampler_prog_key_data()
192 key->swizzles[i] |= SWIZZLE_ONE << (3 * i); in crocus_populate_sampler_prog_key_data()
/third_party/skia/third_party/externals/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()