Searched refs:swizzles (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_program.h32 * EXT_texture_swizzle and DEPTH_TEXTURE_MODE swizzles.
34 uint16_t swizzles[MAX_SAMPLERS]; member in struct:brw_sampler_prog_key_data
H A Dbrw_wm_surface_state.c665 int swizzles[SWIZZLE_NIL + 1] = { local
679 swizzles[0] = SWIZZLE_ZERO;
680 swizzles[1] = SWIZZLE_ZERO;
681 swizzles[2] = SWIZZLE_ZERO;
682 swizzles[3] = SWIZZLE_X;
685 swizzles[0] = SWIZZLE_X;
686 swizzles[1] = SWIZZLE_X;
687 swizzles[2] = SWIZZLE_X;
688 swizzles[3] = SWIZZLE_ONE;
691 swizzles[
[all...]
H A Dbrw_vec4.cpp35 * Common helper for constructing swizzles. When only a subset of
118 int swizzles[4]; local
126 swizzles[next_chan++] = last = i;
130 swizzles[next_chan] = last;
133 this->swizzle = BRW_SWIZZLE4(swizzles[0], swizzles[1],
134 swizzles[2], swizzles[3]);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_program.h32 * EXT_texture_swizzle and DEPTH_TEXTURE_MODE swizzles.
34 uint16_t swizzles[MAX_SAMPLERS]; member in struct:brw_sampler_prog_key_data
H A Dbrw_wm_surface_state.c665 int swizzles[SWIZZLE_NIL + 1] = { local
679 swizzles[0] = SWIZZLE_ZERO;
680 swizzles[1] = SWIZZLE_ZERO;
681 swizzles[2] = SWIZZLE_ZERO;
682 swizzles[3] = SWIZZLE_X;
685 swizzles[0] = SWIZZLE_X;
686 swizzles[1] = SWIZZLE_X;
687 swizzles[2] = SWIZZLE_X;
688 swizzles[3] = SWIZZLE_ONE;
691 swizzles[
[all...]
H A Dbrw_vec4.cpp35 * Common helper for constructing swizzles. When only a subset of
118 int swizzles[4]; local
126 swizzles[next_chan++] = last = i;
130 swizzles[next_chan] = last;
133 this->swizzle = BRW_SWIZZLE4(swizzles[0], swizzles[1],
134 swizzles[2], swizzles[3]);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.h82 * @param swizzles is the in [0,4[ range.
87 const unsigned char swizzles[4]);
99 const unsigned char swizzles[4],
106 const unsigned char swizzles[4]);
H A Dlp_bld_swizzle.c253 const unsigned char swizzles[4])
260 if (swizzles[0] == PIPE_SWIZZLE_RED &&
261 swizzles[1] == PIPE_SWIZZLE_GREEN &&
262 swizzles[2] == PIPE_SWIZZLE_BLUE &&
263 swizzles[3] == PIPE_SWIZZLE_ALPHA) {
267 if (swizzles[0] == swizzles[1] &&
268 swizzles[1] == swizzles[2] &&
269 swizzles[
251 lp_build_swizzle_aos(struct lp_build_context *bld, LLVMValueRef a, const unsigned char swizzles[4]) argument
470 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument
492 lp_build_swizzle_soa_inplace(struct lp_build_context *bld, LLVMValueRef *values, const unsigned char swizzles[4]) argument
[all...]
H A Dlp_bld_sample.h278 unsigned char swizzles[4]; local
280 swizzles[0] = bld->static_state->swizzle_r;
281 swizzles[1] = bld->static_state->swizzle_g;
282 swizzles[2] = bld->static_state->swizzle_b;
283 swizzles[3] = bld->static_state->swizzle_a;
285 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
H A Dlp_bld_tgsi_aos.c63 * Wrapper around lp_build_swizzle_aos which translates swizzles to another
74 unsigned char swizzles[4]; local
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x];
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y];
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z];
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_
983 lp_build_tgsi_aos(struct gallivm_state *gallivm, const struct tgsi_token *tokens, struct lp_type type, const unsigned char swizzles[4], LLVMValueRef consts_ptr, const LLVMValueRef *inputs, LLVMValueRef *outputs, struct lp_build_sampler_aos *sampler, const struct tgsi_shader_info *info) argument
[all...]
H A Dlp_bld_format_aos.c65 unsigned char swizzles[4]; local
87 swizzles[chan] = swizzle;
90 return lp_build_swizzle_aos(bld, unswizzled, swizzles);
95 * Whether the format matches the vector type, apart of swizzles.
270 LLVMValueRef swizzles[4]; local
291 swizzles[i] = lp_build_const_int32(gallivm, j);
293 swizzles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
298 LLVMConstVector(swizzles, 4), "");
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.h82 * @param swizzles is the in [0,4[ range.
87 const unsigned char swizzles[4]);
99 const unsigned char swizzles[4],
106 const unsigned char swizzles[4]);
H A Dlp_bld_swizzle.c253 const unsigned char swizzles[4])
260 if (swizzles[0] == PIPE_SWIZZLE_RED &&
261 swizzles[1] == PIPE_SWIZZLE_GREEN &&
262 swizzles[2] == PIPE_SWIZZLE_BLUE &&
263 swizzles[3] == PIPE_SWIZZLE_ALPHA) {
267 if (swizzles[0] == swizzles[1] &&
268 swizzles[1] == swizzles[2] &&
269 swizzles[
251 lp_build_swizzle_aos(struct lp_build_context *bld, LLVMValueRef a, const unsigned char swizzles[4]) argument
470 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument
492 lp_build_swizzle_soa_inplace(struct lp_build_context *bld, LLVMValueRef *values, const unsigned char swizzles[4]) argument
[all...]
H A Dlp_bld_sample.h278 unsigned char swizzles[4]; local
280 swizzles[0] = bld->static_state->swizzle_r;
281 swizzles[1] = bld->static_state->swizzle_g;
282 swizzles[2] = bld->static_state->swizzle_b;
283 swizzles[3] = bld->static_state->swizzle_a;
285 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles);
H A Dlp_bld_tgsi_aos.c63 * Wrapper around lp_build_swizzle_aos which translates swizzles to another
74 unsigned char swizzles[4]; local
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x];
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y];
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z];
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_
983 lp_build_tgsi_aos(struct gallivm_state *gallivm, const struct tgsi_token *tokens, struct lp_type type, const unsigned char swizzles[4], LLVMValueRef consts_ptr, const LLVMValueRef *inputs, LLVMValueRef *outputs, struct lp_build_sampler_aos *sampler, const struct tgsi_shader_info *info) argument
[all...]
H A Dlp_bld_format_aos.c65 unsigned char swizzles[4]; local
87 swizzles[chan] = swizzle;
90 return lp_build_swizzle_aos(bld, unswizzled, swizzles);
95 * Whether the format matches the vector type, apart of swizzles.
270 LLVMValueRef swizzles[4]; local
291 swizzles[i] = lp_build_const_int32(gallivm, j);
293 swizzles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
298 LLVMConstVector(swizzles, 4), "");
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_parse.py107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace):
113 self.swizzles = swizzles
202 swizzle = self.swizzles[i]
253 swizzles = [_swizzle_parse_map[swizzle] for swizzle in fields[8]]
260 swizzle = swizzles[i]
265 swizzle = swizzles[i]
301 format = Format(name, layout, block_width, block_height, channels, swizzles, colorspace)
H A Du_format_table.py123 swizzle = format.swizzles[i]
152 if format.colorspace == ZS and format.swizzles[0] != SWIZZLE_NONE:
162 if format.colorspace == ZS and format.swizzles[1] != SWIZZLE_NONE:
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_parse.py107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace):
113 self.swizzles = swizzles
202 swizzle = self.swizzles[i]
253 swizzles = [_swizzle_parse_map[swizzle] for swizzle in fields[8]]
260 swizzle = swizzles[i]
265 swizzle = swizzles[i]
301 format = Format(name, layout, block_width, block_height, channels, swizzles, colorspace)
H A Du_format_table.py123 swizzle = format.swizzles[i]
152 if format.colorspace == ZS and format.swizzles[0] != SWIZZLE_NONE:
162 if format.colorspace == ZS and format.swizzles[1] != SWIZZLE_NONE:
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DSwizzleTest.cpp18 GLenum swizzles[] = local
37 permutation.swizzleRed = swizzles[r];
38 permutation.swizzleGreen = swizzles[g];
39 permutation.swizzleBlue = swizzles[b];
40 permutation.swizzleAlpha = swizzles[a];
/external/deqp/modules/gles2/performance/
H A Des2pTextureCases.cpp163 static const IVec4 swizzles[] = { IVec4(0,1,2,3), IVec4(1,2,3,0), IVec4(2,3,0,1), IVec4(3,0,1,2), local
165 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)];
/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp189 static const IVec4 swizzles[] = { IVec4(0,1,2,3), IVec4(1,2,3,0), IVec4(2,3,0,1), IVec4(3,0,1,2), local
191 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)];
/external/deqp/modules/gles3/functional/
H A Des3fTextureSwizzleTests.cpp268 } swizzles[] = local
300 // All swizzles applied to each channel.
305 for (int swzNdx = 0; swzNdx < DE_LENGTH_OF_ARRAY(swizzles); swzNdx++)
307 if (swizzles[swzNdx].swizzle == defaultSwizzles[chanNdx])
310 string name = string(channels[chanNdx].name) + "_" + swizzles[swzNdx].name;
311 deUint32 swz = swizzles[swzNdx].swizzle;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_tile_soa.py95 swizzle = format.swizzles[i]
99 swizzle = format.swizzles[0]
153 swizzle = format.swizzles[i]

Completed in 1311 milliseconds

123