mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
etnaviv: common: Add PIPE_3D feature bit
With this, we can drop the duplicated ETNA_GPU_FEATURES_0 query in screen_create(). Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28877>
This commit is contained in:
parent
ff155f46a3
commit
4f123a7951
3 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
enum etna_feature {
|
||||
ETNA_FEATURE_FAST_CLEAR,
|
||||
ETNA_FEATURE_PIPE_3D,
|
||||
ETNA_FEATURE_32_BIT_INDICES,
|
||||
ETNA_FEATURE_MSAA,
|
||||
ETNA_FEATURE_DXT_TEXTURE_COMPRESSION,
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ query_features_from_kernel(struct etna_gpu *gpu)
|
|||
gpu->info.type = ETNA_CORE_GPU;
|
||||
|
||||
ETNA_FEATURE(chipFeatures, FAST_CLEAR);
|
||||
ETNA_FEATURE(chipFeatures, PIPE_3D);
|
||||
ETNA_FEATURE(chipFeatures, 32_BIT_INDICES);
|
||||
ETNA_FEATURE(chipFeatures, MSAA);
|
||||
ETNA_FEATURE(chipFeatures, DXT_TEXTURE_COMPRESSION);
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ etna_query_feature_db(struct etna_core_info *info)
|
|||
|
||||
/* Features: */
|
||||
ETNA_FEATURE(REG_FastClear, FAST_CLEAR);
|
||||
ETNA_FEATURE(REG_Pipe3D, PIPE_3D);
|
||||
ETNA_FEATURE(REG_FE20BitIndex, 32_BIT_INDICES);
|
||||
ETNA_FEATURE(REG_MSAA, MSAA);
|
||||
ETNA_FEATURE(REG_DXTTextureCompression, DXT_TEXTURE_COMPRESSION);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue