Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c102 ves->decomposed_attrs_without_w |= 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
187 decomposed_attrs_without_w = vs->u8.decomposed_attrs_without_w; in zink_bind_vertex_elements_state()
191 decomposed_attrs_without_w = vs->u16.decomposed_attrs_without_w; in zink_bind_vertex_elements_state()
195 decomposed_attrs_without_w = vs->u16.decomposed_attrs_without_w; in zink_bind_vertex_elements_state()
199 ctx->element_state->decomposed_attrs_without_w != decomposed_attrs_without_w) { in zink_bind_vertex_elements_state()
206 … key->key.vs.u8.decomposed_attrs_without_w = ctx->element_state->decomposed_attrs_without_w; in zink_bind_vertex_elements_state()
210 … key->key.vs.u16.decomposed_attrs_without_w = ctx->element_state->decomposed_attrs_without_w; in zink_bind_vertex_elements_state()
214 … key->key.vs.u32.decomposed_attrs_without_w = ctx->element_state->decomposed_attrs_without_w; in zink_bind_vertex_elements_state()
Dzink_shader_keys.h43 uint32_t decomposed_attrs_without_w; member
47 uint16_t decomposed_attrs_without_w; member
51 uint8_t decomposed_attrs_without_w; 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()
619 … state.needs_w = (decomposed_attrs_without_w & BITFIELD_BIT(location)) != 0 && num_components == 4; in decompose_attribs()
623 if (decomposed_attrs_without_w & BITFIELD_BIT(location)) in decompose_attribs()
808 uint32_t decomposed_attrs = 0, decomposed_attrs_without_w = 0; in zink_shader_compile() local
813 decomposed_attrs_without_w = vs_key->u32.decomposed_attrs_without_w; in zink_shader_compile()
817 decomposed_attrs_without_w = vs_key->u16.decomposed_attrs_without_w; in zink_shader_compile()
821 decomposed_attrs_without_w = vs_key->u8.decomposed_attrs_without_w; 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.h57 uint32_t decomposed_attrs_without_w; member