Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_sf_state.c125 int source_attr = slot - 2 * urb_entry_read_offset; in get_attr_override() local
126 assert(source_attr >= 0 && source_attr < 32); in get_attr_override()
139 if (*max_source_attr < source_attr + swizzling) in get_attr_override()
140 *max_source_attr = source_attr + swizzling; in get_attr_override()
143 return source_attr | in get_attr_override()
147 return source_attr; in get_attr_override()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c366 const int source_attr = slot - 2 * urb_entry_read_offset; in emit_3dstate_sbe() local
367 max_source_attr = MAX2(max_source_attr, source_attr); in emit_3dstate_sbe()
368 swiz.Attribute[input_index].SourceAttribute = source_attr; in emit_3dstate_sbe()