agx: Include divisors in the vertex shader key

Needed to lower the divisions.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12053>
This commit is contained in:
Alyssa Rosenzweig 2021-07-24 17:24:47 -04:00
parent 0c353d47be
commit 538e3a3100
1 changed files with 3 additions and 0 deletions

View File

@ -119,10 +119,13 @@ enum agx_format {
};
struct agx_attribute {
uint32_t divisor;
unsigned buf : 5;
unsigned src_offset : 16;
unsigned nr_comps_minus_1 : 2;
enum agx_format format : 4;
unsigned padding : 5;
};
struct agx_vs_shader_key {