Displaying 2 results from an estimated 2 matches for "etc2_rgb".
Did you mean:
etc2_rgba
2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...llium/drivers/nouveau/nv50/nv50_formats.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
@@ -84,6 +84,29 @@
#define NV50_TIC_0_FMT_BPTC_FLOAT NVC0_TIC_0_FMT_BPTC_FLOAT
#define NV50_TIC_0_FMT_BPTC_UFLOAT NVC0_TIC_0_FMT_BPTC_UFLOAT
+/* GK20A and GM107+ formats */
+#define NV50_TIC_0_FMT_ETC2_RGB 0x06
+#define NV50_TIC_0_FMT_ETC2_RGBA1 0x0a
+#define NV50_TIC_0_FMT_ETC2_RGBA 0x0b
+#define NV50_TIC_0_FMT_ETC2_R11 0x19
+#define NV50_TIC_0_FMT_ETC2_RG11 0x1a
+
+/* On GK20A, the high bit goes elsewhere */
+#define NV50_TIC_0_FMT_ASTC_2D_4X4 0x40
+#define NV50_TIC_0_FMT_AST...
2015 Dec 19
0
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...ormats.c
> +++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
> @@ -84,6 +84,29 @@
> #define NV50_TIC_0_FMT_BPTC_FLOAT NVC0_TIC_0_FMT_BPTC_FLOAT
> #define NV50_TIC_0_FMT_BPTC_UFLOAT NVC0_TIC_0_FMT_BPTC_UFLOAT
>
> +/* GK20A and GM107+ formats */
> +#define NV50_TIC_0_FMT_ETC2_RGB 0x06
> +#define NV50_TIC_0_FMT_ETC2_RGBA1 0x0a
> +#define NV50_TIC_0_FMT_ETC2_RGBA 0x0b
> +#define NV50_TIC_0_FMT_ETC2_R11 0x19
> +#define NV50_TIC_0_FMT_ETC2_RG11 0x1a
> +
> +/* On GK20A, the high bit goes elsewhere */
> +#define NV50_TIC_0_FMT_ASTC_2D_4X4...