diff options
author | Wladimir J. van der Laan <[email protected]> | 2017-10-01 11:21:20 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-10-03 19:49:47 +0200 |
commit | ec254f4bfa65cbe27cff4422898afa8fb32ef97d (patch) | |
tree | 6c848ce897234df27af80c6c62e006b0eba2f9ea /src/gallium/drivers/etnaviv/etnaviv_internal.h | |
parent | 80f608b5304396fdfc16cd318f332d93f188c381 (diff) |
etnaviv: Add support for DP2 instruction
A two-component dot product instruction is supported with HALTI2, use it
on hardware that supports it.
Signed-off-by: Wladimir J. van der Laan <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_internal.h')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h b/src/gallium/drivers/etnaviv/etnaviv_internal.h index a6544f62199..896bbf56547 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h @@ -72,6 +72,8 @@ struct etna_specs { unsigned has_shader_range_registers : 1; /* has the new sin/cos/log functions */ unsigned has_new_transcendentals : 1; + /* has the new dp2/dpX_norm instructions, among others */ + unsigned has_halti2_instructions : 1; /* supports single-buffer rendering with multiple pixel pipes */ unsigned single_buffer : 1; /* has unified uniforms memory */ |