Home
last modified time | relevance | path

Searched refs:decomposed_attrs (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c99 ves->decomposed_attrs |= BITFIELD_BIT(i); in zink_create_vertex_elements_state()
123 u_foreach_bit(i, ves->decomposed_attrs | ves->decomposed_attrs_without_w) { in zink_create_vertex_elements_state()
183 uint32_t decomposed_attrs = 0, decomposed_attrs_without_w = 0; in zink_bind_vertex_elements_state() local
186 decomposed_attrs = vs->u8.decomposed_attrs; in zink_bind_vertex_elements_state()
190 decomposed_attrs = vs->u16.decomposed_attrs; in zink_bind_vertex_elements_state()
194 decomposed_attrs = vs->u16.decomposed_attrs; in zink_bind_vertex_elements_state()
198 if (ctx->element_state->decomposed_attrs != decomposed_attrs || in zink_bind_vertex_elements_state()
205 key->key.vs.u8.decomposed_attrs = ctx->element_state->decomposed_attrs; in zink_bind_vertex_elements_state()
209 key->key.vs.u16.decomposed_attrs = ctx->element_state->decomposed_attrs; in zink_bind_vertex_elements_state()
213 key->key.vs.u32.decomposed_attrs = ctx->element_state->decomposed_attrs; in zink_bind_vertex_elements_state()
Dzink_shader_keys.h42 uint32_t decomposed_attrs; member
46 uint16_t decomposed_attrs; member
50 uint8_t decomposed_attrs; member
Dzink_compiler.c603 decompose_attribs(nir_shader *nir, uint32_t decomposed_attrs, uint32_t decomposed_attrs_without_w) in decompose_attribs() argument
609 u_foreach_bit(location, decomposed_attrs | decomposed_attrs_without_w) { in decompose_attribs()
808 uint32_t decomposed_attrs = 0, decomposed_attrs_without_w = 0; in zink_shader_compile() local
812 decomposed_attrs = vs_key->u32.decomposed_attrs; in zink_shader_compile()
816 decomposed_attrs = vs_key->u16.decomposed_attrs; in zink_shader_compile()
820 decomposed_attrs = vs_key->u8.decomposed_attrs; in zink_shader_compile()
825 if (decomposed_attrs || decomposed_attrs_without_w) in zink_shader_compile()
826 NIR_PASS_V(nir, decompose_attribs, decomposed_attrs, decomposed_attrs_without_w); in zink_shader_compile()
Dzink_state.h55 uint32_t decomposed_attrs; member