diff options
author | Eric Anholt <[email protected]> | 2016-11-16 16:57:45 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-11-16 19:45:01 -0800 |
commit | 45c022f2b06967196516f0616a9e4959ddcd14da (patch) | |
tree | e2b86f3964f067f66788f18c9e33f9fa9e4c91a9 /src/gallium/drivers/vc4/vc4_context.h | |
parent | 7130260d1212d84d046c67682cb4eed95c852657 (diff) |
vc4: Add support for ETC1 textures if the kernel is new enough.
The kernel changes for exposing the param have now been merged, so we can
expose it here.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h index db9e82d2a22..e59b1d28287 100644 --- a/src/gallium/drivers/vc4/vc4_context.h +++ b/src/gallium/drivers/vc4/vc4_context.h @@ -39,6 +39,10 @@ #include "vc4_cl.h" #include "vc4_qir.h" +#ifndef DRM_VC4_PARAM_SUPPORTS_ETC1 +#define DRM_VC4_PARAM_SUPPORTS_ETC1 4 +#endif + #ifdef USE_VC4_SIMULATOR #define using_vc4_simulator true #else |