Home
last modified time | relevance | path

Searched refs:vtx_info (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4555 bool check_vertex_fetch_size(isel_context *ctx, const ac_data_format_info *vtx_info, in check_vertex_fetch_size() argument
4558 if (vtx_info->chan_byte_size != 4 && channels == 3) in check_vertex_fetch_size()
4571 uint8_t get_fetch_data_format(isel_context *ctx, const ac_data_format_info *vtx_info, in get_fetch_data_format() argument
4574 if (!vtx_info->chan_byte_size) { in get_fetch_data_format()
4575 *channels = vtx_info->num_channels; in get_fetch_data_format()
4576 return vtx_info->chan_format; in get_fetch_data_format()
4580 if (!check_vertex_fetch_size(ctx, vtx_info, offset, stride, *channels)) { in get_fetch_data_format()
4583 …while (new_channels <= 4 && !check_vertex_fetch_size(ctx, vtx_info, offset, stride, new_channels))… in get_fetch_data_format()
4586 if (offset + new_channels * vtx_info->chan_byte_size > stride) in get_fetch_data_format()
4593 … while (new_channels > 1 && !check_vertex_fetch_size(ctx, vtx_info, offset, stride, new_channels)) in get_fetch_data_format()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1164 const struct ac_data_format_info *vtx_info = ac_get_data_format_info(data_format); in handle_vs_input_decl() local
1169 unsigned num_channels = MIN2(num_input_channels, vtx_info->num_channels); in handle_vs_input_decl()
1194 unsigned chan_format = vtx_info->chan_format; in handle_vs_input_decl()
1201 unsigned chan_offset = attrib_offset + chan * vtx_info->chan_byte_size; in handle_vs_input_decl()