radv: pre-calc "simple" dynamic vertex input values

when the shader pipeline is known to not require any of the more complex
calculations, those calculations can be excluded from the dynamic update
code

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13320>
This commit is contained in:
Mike Blumenkrantz
2021-07-01 15:20:36 -04:00
committed by Marge Bot
parent c335a4d70e
commit eda5634e25
4 changed files with 35 additions and 23 deletions

View File

@@ -381,7 +381,7 @@ struct radv_vs_input_state {
};
struct radv_vs_prolog_key {
struct radv_vs_input_state *state;
const struct radv_vs_input_state *state;
unsigned num_attributes;
uint32_t misaligned_mask;
bool as_ls;