Ian Romanick | 17 Aug 2012 19:36

[PATCH] mesa/es: Don't generate ES1 type conversion wrappers

From: Ian Romanick <ian.d.romanick <at> intel.com>

These are gradually going to get whittled away and eventually folded
into the source files with the native type functions.

Signed-off-by: Ian Romanick <ian.d.romanick <at> intel.com>
---
This just copies the generated code to a non-generated file.  I'm
sending this out now, and the giant series that depends on it will be
out soon.  I really want to get this one in ASAP.

 src/mesa/main/es1_conversion.c | 1508 ++++++++++++++++++++++++++++++++++++++++
 src/mesa/main/es1_conversion.h |  157 +++++
 src/mesa/main/es_generator.py  |    7 +
 src/mesa/sources.mak           |    3 +-
 4 files changed, 1674 insertions(+), 1 deletions(-)
 create mode 100644 src/mesa/main/es1_conversion.c
 create mode 100644 src/mesa/main/es1_conversion.h

diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c
new file mode 100644
index 0000000..a1d3b76
--- /dev/null
+++ b/src/mesa/main/es1_conversion.c
 <at>  <at>  -0,0 +1,1508  <at>  <at> 
+#include <stdbool.h>
+#include "main/mfeatures.h"
+
+#ifdef FEATURE_ES1
+
(Continue reading)

Brian Paul | 17 Aug 2012 21:36
Favicon

Re: [PATCH] mesa/es: Don't generate ES1 type conversion wrappers

On 08/17/2012 11:36 AM, Ian Romanick wrote:
> From: Ian Romanick<ian.d.romanick <at> intel.com>
>
> These are gradually going to get whittled away and eventually folded
> into the source files with the native type functions.
>
> Signed-off-by: Ian Romanick<ian.d.romanick <at> intel.com>
> ---
> This just copies the generated code to a non-generated file.  I'm
> sending this out now, and the giant series that depends on it will be
> out soon.  I really want to get this one in ASAP.

LGTM but I think you need to add the new es1_conversion.c file to 
src/mesa/SConscript.

Reviewed-by: Brian Paul <brianp <at> vmware.com>

Gmane