Re: [Mesa-dev] [PATCH 1/3] etnaviv: rnndb update

2017-11-07 Thread Christian Gmeiner
2017-11-07 17:43 GMT+01:00 Wladimir J. van der Laan :
> Update rnndb to etna_viv 07c756a.
>
> Signed-off-by: Wladimir J. van der Laan 

Reviewed-by: Christian Gmeiner 

> ---
>  src/gallium/drivers/etnaviv/hw/common.xml.h |  2 +-
>  src/gallium/drivers/etnaviv/hw/common_3d.xml.h  |  2 +-
>  src/gallium/drivers/etnaviv/hw/state.xml.h  |  4 ++--
>  src/gallium/drivers/etnaviv/hw/state_3d.xml.h   | 14 --
>  src/gallium/drivers/etnaviv/hw/state_blt.xml.h  |  4 ++--
>  src/gallium/drivers/etnaviv/hw/texdesc_3d.xml.h |  3 ++-
>  6 files changed, 20 insertions(+), 9 deletions(-)
>
> diff --git a/src/gallium/drivers/etnaviv/hw/common.xml.h 
> b/src/gallium/drivers/etnaviv/hw/common.xml.h
> index b98fa84..60bde8b 100644
> --- a/src/gallium/drivers/etnaviv/hw/common.xml.h
> +++ b/src/gallium/drivers/etnaviv/hw/common.xml.h
> @@ -11,7 +11,7 @@ The rules-ng-ng source files this header was generated from 
> are:
>  - texdesc_3d.xml (   3183 bytes, from 2017-10-31 19:05:01)
>  - copyright.xml  (   1597 bytes, from 2016-10-29 07:29:22)
>  - common.xml (  26187 bytes, from 2017-10-31 19:05:01)
> -- common_3d.xml  (  14547 bytes, from 2017-11-01 16:08:07)
> +- common_3d.xml  (  14615 bytes, from 2017-11-04 14:03:35)
>
>  Copyright (C) 2012-2017 by the following authors:
>  - Wladimir J. van der Laan 
> diff --git a/src/gallium/drivers/etnaviv/hw/common_3d.xml.h 
> b/src/gallium/drivers/etnaviv/hw/common_3d.xml.h
> index 8f19d5b..d110a36 100644
> --- a/src/gallium/drivers/etnaviv/hw/common_3d.xml.h
> +++ b/src/gallium/drivers/etnaviv/hw/common_3d.xml.h
> @@ -11,7 +11,7 @@ The rules-ng-ng source files this header was generated from 
> are:
>  - texdesc_3d.xml (   3183 bytes, from 2017-10-31 19:05:01)
>  - copyright.xml  (   1597 bytes, from 2016-10-29 07:29:22)
>  - common.xml (  26187 bytes, from 2017-10-31 19:05:01)
> -- common_3d.xml  (  14547 bytes, from 2017-11-01 16:08:07)
> +- common_3d.xml  (  14615 bytes, from 2017-11-04 14:03:35)
>
>  Copyright (C) 2012-2017 by the following authors:
>  - Wladimir J. van der Laan 
> diff --git a/src/gallium/drivers/etnaviv/hw/state.xml.h 
> b/src/gallium/drivers/etnaviv/hw/state.xml.h
> index 0a93a4f..485c0eb 100644
> --- a/src/gallium/drivers/etnaviv/hw/state.xml.h
> +++ b/src/gallium/drivers/etnaviv/hw/state.xml.h
> @@ -10,11 +10,11 @@ git clone git://0x04.net/rules-ng-ng
>  The rules-ng-ng source files this header was generated from are:
>  - state.xml (  26087 bytes, from 2017-10-30 13:44:54)
>  - common.xml(  26187 bytes, from 2017-10-31 19:05:01)
> -- common_3d.xml (  14547 bytes, from 2017-11-01 16:08:07)
> +- common_3d.xml (  14615 bytes, from 2017-11-04 14:03:35)
>  - state_hi.xml  (  27733 bytes, from 2017-10-02 19:00:30)
>  - copyright.xml (   1597 bytes, from 2016-10-29 07:29:22)
>  - state_2d.xml  (  51552 bytes, from 2016-10-29 07:29:22)
> -- state_3d.xml  (  79520 bytes, from 2017-10-31 19:05:01)
> +- state_3d.xml  (  79992 bytes, from 2017-11-07 10:44:35)
>  - state_blt.xml (  13405 bytes, from 2017-10-16 17:42:46)
>  - state_vg.xml  (   5975 bytes, from 2016-10-29 07:29:22)
>
> diff --git a/src/gallium/drivers/etnaviv/hw/state_3d.xml.h 
> b/src/gallium/drivers/etnaviv/hw/state_3d.xml.h
> index c5722aa..13122789 100644
> --- a/src/gallium/drivers/etnaviv/hw/state_3d.xml.h
> +++ b/src/gallium/drivers/etnaviv/hw/state_3d.xml.h
> @@ -10,11 +10,11 @@ git clone git://0x04.net/rules-ng-ng
>  The rules-ng-ng source files this header was generated from are:
>  - state.xml (  26087 bytes, from 2017-10-30 13:44:54)
>  - common.xml(  26187 bytes, from 2017-10-31 19:05:01)
> -- common_3d.xml (  14547 bytes, from 2017-11-01 16:08:07)
> +- common_3d.xml (  14615 bytes, from 2017-11-04 14:03:35)
>  - state_hi.xml  (  27733 bytes, from 2017-10-02 19:00:30)
>  - copyright.xml (   1597 bytes, from 2016-10-29 07:29:22)
>  - state_2d.xml  (  51552 bytes, from 2016-10-29 07:29:22)
> -- state_3d.xml  (  79520 bytes, from 2017-10-31 19:05:01)
> +- state_3d.xml  (  79992 bytes, from 2017-11-07 10:44:35)
>  - state_blt.xml (  13405 bytes, from 2017-10-16 17:42:46)
>  - state_vg.xml  (   5975 bytes, from 2016-10-29 07:29:22)
>
> @@ -122,6 +122,14 @@ DEALINGS IN THE SOFTWARE.
>  #define LOGIC_OP_OR_REVERSE0x000d
>  #define LOGIC_OP_OR0x000e
>  #define LOGIC_OP_SET   0x000f
> +#define TS_SAMPLER_FORMAT_A4R4G4B4 0x
> +#define TS_SAMPLER_FORMAT_A1R5G5B5 0x0001
> +#define TS_SAMPLER_FORMAT_R5G6B5   0x0002
> +#define TS_SAMPLER_FORMAT_A8R8G8B8 0x0003
> +#define TS_SAMPLER_FORMAT_X8R8G8B8 0x0004
> +#define TS_SAMPLER_FORMAT_D24X8 

[Mesa-dev] [PATCH 1/3] etnaviv: rnndb update

2017-11-07 Thread Wladimir J. van der Laan
Update rnndb to etna_viv 07c756a.

Signed-off-by: Wladimir J. van der Laan 
---
 src/gallium/drivers/etnaviv/hw/common.xml.h |  2 +-
 src/gallium/drivers/etnaviv/hw/common_3d.xml.h  |  2 +-
 src/gallium/drivers/etnaviv/hw/state.xml.h  |  4 ++--
 src/gallium/drivers/etnaviv/hw/state_3d.xml.h   | 14 --
 src/gallium/drivers/etnaviv/hw/state_blt.xml.h  |  4 ++--
 src/gallium/drivers/etnaviv/hw/texdesc_3d.xml.h |  3 ++-
 6 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/src/gallium/drivers/etnaviv/hw/common.xml.h 
b/src/gallium/drivers/etnaviv/hw/common.xml.h
index b98fa84..60bde8b 100644
--- a/src/gallium/drivers/etnaviv/hw/common.xml.h
+++ b/src/gallium/drivers/etnaviv/hw/common.xml.h
@@ -11,7 +11,7 @@ The rules-ng-ng source files this header was generated from 
are:
 - texdesc_3d.xml (   3183 bytes, from 2017-10-31 19:05:01)
 - copyright.xml  (   1597 bytes, from 2016-10-29 07:29:22)
 - common.xml (  26187 bytes, from 2017-10-31 19:05:01)
-- common_3d.xml  (  14547 bytes, from 2017-11-01 16:08:07)
+- common_3d.xml  (  14615 bytes, from 2017-11-04 14:03:35)
 
 Copyright (C) 2012-2017 by the following authors:
 - Wladimir J. van der Laan 
diff --git a/src/gallium/drivers/etnaviv/hw/common_3d.xml.h 
b/src/gallium/drivers/etnaviv/hw/common_3d.xml.h
index 8f19d5b..d110a36 100644
--- a/src/gallium/drivers/etnaviv/hw/common_3d.xml.h
+++ b/src/gallium/drivers/etnaviv/hw/common_3d.xml.h
@@ -11,7 +11,7 @@ The rules-ng-ng source files this header was generated from 
are:
 - texdesc_3d.xml (   3183 bytes, from 2017-10-31 19:05:01)
 - copyright.xml  (   1597 bytes, from 2016-10-29 07:29:22)
 - common.xml (  26187 bytes, from 2017-10-31 19:05:01)
-- common_3d.xml  (  14547 bytes, from 2017-11-01 16:08:07)
+- common_3d.xml  (  14615 bytes, from 2017-11-04 14:03:35)
 
 Copyright (C) 2012-2017 by the following authors:
 - Wladimir J. van der Laan 
diff --git a/src/gallium/drivers/etnaviv/hw/state.xml.h 
b/src/gallium/drivers/etnaviv/hw/state.xml.h
index 0a93a4f..485c0eb 100644
--- a/src/gallium/drivers/etnaviv/hw/state.xml.h
+++ b/src/gallium/drivers/etnaviv/hw/state.xml.h
@@ -10,11 +10,11 @@ git clone git://0x04.net/rules-ng-ng
 The rules-ng-ng source files this header was generated from are:
 - state.xml (  26087 bytes, from 2017-10-30 13:44:54)
 - common.xml(  26187 bytes, from 2017-10-31 19:05:01)
-- common_3d.xml (  14547 bytes, from 2017-11-01 16:08:07)
+- common_3d.xml (  14615 bytes, from 2017-11-04 14:03:35)
 - state_hi.xml  (  27733 bytes, from 2017-10-02 19:00:30)
 - copyright.xml (   1597 bytes, from 2016-10-29 07:29:22)
 - state_2d.xml  (  51552 bytes, from 2016-10-29 07:29:22)
-- state_3d.xml  (  79520 bytes, from 2017-10-31 19:05:01)
+- state_3d.xml  (  79992 bytes, from 2017-11-07 10:44:35)
 - state_blt.xml (  13405 bytes, from 2017-10-16 17:42:46)
 - state_vg.xml  (   5975 bytes, from 2016-10-29 07:29:22)
 
diff --git a/src/gallium/drivers/etnaviv/hw/state_3d.xml.h 
b/src/gallium/drivers/etnaviv/hw/state_3d.xml.h
index c5722aa..13122789 100644
--- a/src/gallium/drivers/etnaviv/hw/state_3d.xml.h
+++ b/src/gallium/drivers/etnaviv/hw/state_3d.xml.h
@@ -10,11 +10,11 @@ git clone git://0x04.net/rules-ng-ng
 The rules-ng-ng source files this header was generated from are:
 - state.xml (  26087 bytes, from 2017-10-30 13:44:54)
 - common.xml(  26187 bytes, from 2017-10-31 19:05:01)
-- common_3d.xml (  14547 bytes, from 2017-11-01 16:08:07)
+- common_3d.xml (  14615 bytes, from 2017-11-04 14:03:35)
 - state_hi.xml  (  27733 bytes, from 2017-10-02 19:00:30)
 - copyright.xml (   1597 bytes, from 2016-10-29 07:29:22)
 - state_2d.xml  (  51552 bytes, from 2016-10-29 07:29:22)
-- state_3d.xml  (  79520 bytes, from 2017-10-31 19:05:01)
+- state_3d.xml  (  79992 bytes, from 2017-11-07 10:44:35)
 - state_blt.xml (  13405 bytes, from 2017-10-16 17:42:46)
 - state_vg.xml  (   5975 bytes, from 2016-10-29 07:29:22)
 
@@ -122,6 +122,14 @@ DEALINGS IN THE SOFTWARE.
 #define LOGIC_OP_OR_REVERSE0x000d
 #define LOGIC_OP_OR0x000e
 #define LOGIC_OP_SET   0x000f
+#define TS_SAMPLER_FORMAT_A4R4G4B4 0x
+#define TS_SAMPLER_FORMAT_A1R5G5B5 0x0001
+#define TS_SAMPLER_FORMAT_R5G6B5   0x0002
+#define TS_SAMPLER_FORMAT_A8R8G8B8 0x0003
+#define TS_SAMPLER_FORMAT_X8R8G8B8 0x0004
+#define TS_SAMPLER_FORMAT_D24X8
0x0005
+#define TS_SAMPLER_FORMAT_D16  0x0008
+#define TS_SAMPLER_FORMAT_RAW  0x000f
 #define VARYING_NUM_COMPONENTS_VAR0__MASK  0x0007
 #define VARYING_NUM_COMPONENTS_VAR0__SHIFT