Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1172 unsigned attrib_stride = ctx->args->options->key.vs.vertex_attribute_strides[attrib_index]; in handle_vs_input_decl() local
1204 if (attrib_stride != 0 && chan_offset > attrib_stride) { in handle_vs_input_decl()
1207 chan_offset / attrib_stride, false); in handle_vs_input_decl()
1213 chan_offset = chan_offset % attrib_stride; in handle_vs_input_decl()
1225 if (attrib_stride != 0 && attrib_offset > attrib_stride) { in handle_vs_input_decl()
1228 attrib_offset / attrib_stride, false); in handle_vs_input_decl()
1234 attrib_offset = attrib_offset % attrib_stride; in handle_vs_input_decl()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4665 uint32_t attrib_stride = ctx->options->key.vs.vertex_attribute_strides[location]; in visit_load_input() local
4731 … fetch_dfmt = get_fetch_data_format(ctx, vtx_info, fetch_offset, attrib_stride, &fetch_component); in visit_load_input()
4743 if (attrib_stride != 0 && fetch_offset > attrib_stride) { in visit_load_input()
4744 … fetch_index = bld.vadd32(bld.def(v1), Operand(fetch_offset / attrib_stride), fetch_index); in visit_load_input()
4745 fetch_offset = fetch_offset % attrib_stride; in visit_load_input()