diff options
author | Wladimir J. van der Laan <[email protected]> | 2017-11-18 10:44:31 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-11-30 07:27:57 +0100 |
commit | dd3a04c2c3303e47beff0d8f66e7501790e845ed (patch) | |
tree | 1216336bcb9df0cb94a48f66469fd07abfdeb257 /src/gallium/drivers/etnaviv/etnaviv_internal.h | |
parent | 079bbaec0c7a0ef984ce502fb86f980cbe8577f8 (diff) |
etnaviv: GC7000: BLT engine blitting support
Add an implemenation of key clear_blit functions using the BLT engine
that replaced the RS on GC7000.
Also set level->size correctly for imported resources. This is important
for the BLT resolve-in-place path to work for them.
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 6375ae0428f..e65332b6c66 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h @@ -84,6 +84,8 @@ struct etna_specs { unsigned has_icache : 1; /* ASTC texture support (and has associated states) */ unsigned tex_astc : 1; + /* has BLT engine instead of RS */ + unsigned use_blt : 1; /* can use any kind of wrapping mode on npot textures */ unsigned npot_tex_any_wrap; /* number of bits per TS tile */ |