Home
last modified time | relevance | path

Searched refs:src_components (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/prebuilt-intermediates/nir/
Dnir_intrinsics.c29 .src_components = {
44 .src_components = {
59 .src_components = {
71 .src_components = {
86 .src_components = {
98 .src_components = {
113 .src_components = {
125 .src_components = {
140 .src_components = {
152 .src_components = {
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.py34 def __init__(self, name, src_components, dest_components, argument
51 assert isinstance(src_components, list)
52 if src_components:
53 assert isinstance(src_components[0], int)
66 self.num_srcs = len(src_components)
67 self.src_components = src_components
Dnir_serialize.c809 unsigned src_components = nir_ssa_alu_instr_src_components(alu, i); in is_alu_src_ssa_16bit() local
811 for (unsigned chan = 0; chan < src_components; chan++) { in is_alu_src_ssa_16bit()
872 unsigned src_components = nir_src_num_components(alu->src[i].src); in write_alu() local
874 bool packed = src_components <= 4 && src_channels <= 4; in write_alu()
937 unsigned src_components = nir_ssa_alu_instr_src_components(alu, i); in read_alu() local
939 for (unsigned chan = 0; chan < src_components; chan++) in read_alu()
946 unsigned src_components = nir_src_num_components(alu->src[i].src); in read_alu() local
947 bool packed = src_components <= 4 && src_channels <= 4; in read_alu()
1230 if (nir_intrinsic_infos[op].src_components[i] == 0) { in read_intrinsic()
Dnir.h1961 int8_t src_components[NIR_INTRINSIC_MAX_INPUTS]; member
1992 if (info->src_components[srcn] > 0) in nir_intrinsic_src_components()
1993 return info->src_components[srcn]; in nir_intrinsic_src_components()
1994 else if (info->src_components[srcn] == 0) in nir_intrinsic_src_components()
Dnir_validate.c550 if (info->src_components[i] == 0) in vectorized_intrinsic()
/external/mesa3d/src/mesa/main/
Duniform_query.cpp904 enum glsl_base_type basicType, unsigned src_components) in validate_uniform() argument
916 src_components, uni->name, location); in validate_uniform()
923 if (components != src_components) { in validate_uniform()
927 src_components, uni->name, location, in validate_uniform()
928 components, src_components); in validate_uniform()
951 src_components, uni->name, location, in validate_uniform()
1083 enum glsl_base_type basicType, unsigned src_components) in _mesa_uniform() argument
1108 basicType, src_components); in _mesa_uniform()
Duniforms.h460 enum glsl_base_type basicType, unsigned src_components);
/external/angle/build/android/gyp/
Dcompile_resources.py332 src_components = src_dir_name.split('-')
333 if src_components[0] != 'drawable' or 'mdpi' not in src_components:
338 dst_components = [c for c in src_components if c != 'mdpi']
339 assert dst_components != src_components
/external/cronet/build/android/gyp/
Dcompile_resources.py332 src_components = src_dir_name.split('-')
333 if src_components[0] != 'drawable' or 'mdpi' not in src_components:
338 dst_components = [c for c in src_components if c != 'mdpi']
339 assert dst_components != src_components
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c276 unsigned src_components = nir_src_num_components(src.src); in get_alu_src() local
278 assert(src.swizzle[i] < src_components); in get_alu_src()
283 if (need_swizzle || num_components != src_components) { in get_alu_src()
284 if (src_components > 1 && num_components == 1) { in get_alu_src()
287 } else if (src_components == 1 && num_components > 1) { in get_alu_src()
942 unsigned src_components; in visit_alu() local
949 src_components = 1; in visit_alu()
952 src_components = 2; in visit_alu()
955 src_components = 1; in visit_alu()
959 src_components = 3; in visit_alu()
[all …]
/external/mesa3d/src/compiler/spirv/
Dvtn_amd.c89 if (nir_intrinsic_infos[op].src_components[0] == 0) in vtn_handle_amd_shader_ballot_instruction()
Dvtn_subgroup.c264 if (nir_intrinsic_infos[op].src_components[0] == 0) in vtn_handle_subgroup()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c107 unsigned src_components = ac_get_llvm_num_components(value); in get_alu_src() local
109 assert(src.swizzle[i] < src_components); in get_alu_src()
114 if (need_swizzle || num_components != src_components) { in get_alu_src()
120 if (src_components > 1 && num_components == 1) { in get_alu_src()
122 } else if (src_components == 1 && num_components > 1) { in get_alu_src()
556 unsigned src_components; in visit_alu() local
567 src_components = 1; in visit_alu()
574 src_components = 2; in visit_alu()
577 src_components = 1; in visit_alu()
581 src_components = 3; in visit_alu()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp2254 … unsigned components = opInfo.src_components[3] ? opInfo.src_components[3] : insn->num_components; in visit()
2261 for (uint8_t i = 0u; i < opInfo.src_components[4]; ++i) in visit()