Home
last modified time | relevance | path

Searched refs:alpha_adjust (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c154 enum radv_vs_input_alpha_adjust *alpha_adjust) in radv_translate_vertex_format() argument
160 *alpha_adjust = ALPHA_ADJUST_NONE; in radv_translate_vertex_format()
165 *alpha_adjust = ALPHA_ADJUST_SNORM; in radv_translate_vertex_format()
169 *alpha_adjust = ALPHA_ADJUST_SSCALED; in radv_translate_vertex_format()
173 *alpha_adjust = ALPHA_ADJUST_SINT; in radv_translate_vertex_format()
Dradv_cmd_buffer.c5479 enum radv_vs_input_alpha_adjust alpha_adjust; in radv_CmdSetVertexInputEXT() local
5493 &dfmt, &nfmt, &post_shuffle, &alpha_adjust); in radv_CmdSetVertexInputEXT()
5516 if (alpha_adjust) { in radv_CmdSetVertexInputEXT()
5517 state->alpha_adjust_lo |= (alpha_adjust & 0x1) << loc; in radv_CmdSetVertexInputEXT()
5518 state->alpha_adjust_hi |= (alpha_adjust >> 1) << loc; in radv_CmdSetVertexInputEXT()
Dradv_nir_to_llvm.c724 unsigned alpha_adjust = ctx->args->options->key.vs.vertex_alpha_adjust[attrib_index]; in load_vs_input() local
804 out[3] = adjust_vertex_fetch_alpha(ctx, alpha_adjust, out[3]); in load_vs_input()
Dradv_private.h1919 enum radv_vs_input_alpha_adjust *alpha_adjust);
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5053 enum radv_vs_input_alpha_adjust alpha_adjust = in visit_load_input() local
5190 (alpha_adjust == ALPHA_ADJUST_NONE || num_channels <= 3)) { in visit_load_input()
5239 if (idx == 3 && alpha_adjust != ALPHA_ADJUST_NONE) in visit_load_input()
5240 channel = adjust_vertex_fetch_alpha(ctx, alpha_adjust, channel); in visit_load_input()
12101 unsigned alpha_adjust = (key->state->alpha_adjust_lo >> loc) & 0x1; in select_vs_prolog() local
12102 alpha_adjust |= ((key->state->alpha_adjust_hi >> loc) & 0x1) << 1; in select_vs_prolog()
12104 if (alpha_adjust == ALPHA_ADJUST_SSCALED) in select_vs_prolog()
12113 unsigned offset = alpha_adjust == ALPHA_ADJUST_SNORM ? 23u : 0u; in select_vs_prolog()
12118 if (alpha_adjust == ALPHA_ADJUST_SNORM) { in select_vs_prolog()
12122 } else if (alpha_adjust == ALPHA_ADJUST_SSCALED) { in select_vs_prolog()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst3263 - radv: move alpha_adjust into conditional during vertex input updating