[Mesa-dev] [PATCH 04/11] glsl: add double type

Dave Airlie airlied at gmail.com
Thu Aug 14 03:52:35 PDT 2014


From: Dave Airlie <airlied at redhat.com>

This just adds a placeholder for the GLSL_TYPE_DOUBLE.

This causes a lot of warnings about unchecked type in
switch statements - fix them later.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/glsl/glsl_types.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h
index d545533..e00a3e0 100644
--- a/src/glsl/glsl_types.h
+++ b/src/glsl/glsl_types.h
@@ -51,6 +51,7 @@ enum glsl_base_type {
    GLSL_TYPE_UINT = 0,
    GLSL_TYPE_INT,
    GLSL_TYPE_FLOAT,
+   GLSL_TYPE_DOUBLE,
    GLSL_TYPE_BOOL,
    GLSL_TYPE_SAMPLER,
    GLSL_TYPE_IMAGE,
-- 
1.9.3



More information about the mesa-dev mailing list