Home
last modified time | relevance | path

Searched refs:vec_size (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/tint/src/transform/
Dfold_constants.cc61 uint32_t vec_size = static_cast<uint32_t>(vec->Width()); in Run() local
73 uint32_t ctor_size = (call->Arguments().size() == 1) ? 1 : vec_size; in Run()
82 return ctx.dst->vec(el_ty, vec_size, ctors); in Run()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction_glsl_std_450_test.cc941 uint32_t vec_size; member
957 (param.vec_size == 2 ? " %v2f1" : " %v4f1") + R"( in TEST_P()
968 std::to_string(param.vec_size) + "f1);")) in TEST_P()
987 %1 = OpExtInst )" + (param.vec_size == 2 ? "%v2float" : "%v4float") + in TEST_P()
999 std::string(param.vec_size == 2 ? "vec2<f32>" in TEST_P()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io_to_vector.c638 unsigned vec_size = glsl_get_vector_elements(var->type); in nir_vectorize_tess_levels_impl() local
646 intrin->num_components = vec_size; in nir_vectorize_tess_levels_impl()
649 if (index >= vec_size) { in nir_vectorize_tess_levels_impl()
/third_party/ffmpeg/libavcodec/
Dmss3.c474 int vec_size; in decode_image_block() local
479 vec_size = rac_get_model_sym(c, &ic->vec_size_model) + 2; in decode_image_block()
480 for (i = 0; i < vec_size; i++) in decode_image_block()
Dmss4.c296 int vec_size, int component, int shift, int *prev) in get_value_cached() argument
298 if (vec_pos < vec_size) in get_value_cached()
/third_party/mesa3d/src/compiler/glsl/
Dserialize.cpp482 unsigned vec_size = in write_uniforms() local
489 sizeof(union gl_constant_value) * vec_size); in write_uniforms()
552 unsigned vec_size = in read_uniforms() local
560 sizeof(union gl_constant_value) * vec_size); in read_uniforms()
562 assert(vec_size + prog->data->UniformStorage[i].storage <= in read_uniforms()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test.cc1629 uint32_t vec_size = std::get<1>(GetParam()); in TEST_P() local
1639 lhs_type = ty.vec<f32>(vec_size); in TEST_P()
1642 is_valid_expr = vec_size == mat_rows; in TEST_P()
1645 rhs_type = ty.vec<f32>(vec_size); in TEST_P()
1647 is_valid_expr = vec_size == mat_cols; in TEST_P()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_pipeline.c595 attr.vec_size = desc->nr_channels & 3; in pack_shader_state_attribute_record()
Dv3dvx_cmd_buffer.c2079 attr.vec_size = 1; in v3dX()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c365 unsigned vec_size = LLVMGetVectorSize(LLVMTypeOf(value)); in radv_fixup_vertex_input_fetches() local
367 if (num_channels == 4 && num_channels == vec_size) in radv_fixup_vertex_input_fetches()
370 num_channels = MIN2(num_channels, vec_size); in radv_fixup_vertex_input_fetches()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c632 unsigned vec_size = LLVMGetVectorSize(LLVMTypeOf(value)); in ac_build_expand() local
634 if (src_channels == dst_channels && vec_size == dst_channels) in ac_build_expand()
637 src_channels = MIN2(src_channels, vec_size); in ac_build_expand()
2594 unsigned vec_size = LLVMGetVectorSize(type); in ac_const_uint_vec() local
2595 LLVMValueRef *scalars = alloca(vec_size * sizeof(LLVMValueRef)); in ac_const_uint_vec()
2597 for (unsigned i = 0; i < vec_size; i++) in ac_const_uint_vec()
2599 return LLVMConstVector(scalars, vec_size); in ac_const_uint_vec()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dgen_builtin_symbols.py1124 def specific_type(self, vec_size): argument
1130 type['primarySize'] = vec_size
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_state.c365 attr.vec_size = desc->nr_channels & 3; in v3d_vertex_state_create()
Dv3dx_draw.c786 attr.vec_size = 1; in v3d_emit_gl_shader_state()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c1634 unsigned vec_size = glsl_get_vector_elements(out_type); in emit_so_outputs() local
1635 SpvId vec_type = get_fvec_type(ctx, glsl_get_bit_size(out_type), vec_size); in emit_so_outputs()
1636 if (glsl_type_is_64bit(out_type) && vec_size > 2) { in emit_so_outputs()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc1464 size_t vec_size = init_result_type->As<sem::Vector>()->Width(); in GenerateTypeConstructorOrConversion() local
1465 for (size_t i = 0; i < (vec_size - 1); ++i) { in GenerateTypeConstructorOrConversion()