OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Move the mvp_with_dp4 flag to ShaderCompilerOptions.
[android-x86/external-mesa.git]
/
src
/
mesa
/
main
/
mtypes.h
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index
9e6ea8a
..
a68862d
100644
(file)
--- a/
src/mesa/main/mtypes.h
+++ b/
src/mesa/main/mtypes.h
@@
-2433,6
+2433,12
@@
struct gl_shader_compiler_options
GLuint MaxIfDepth; /**< Maximum nested IF blocks */
GLuint MaxUnrollIterations;
GLuint MaxIfDepth; /**< Maximum nested IF blocks */
GLuint MaxUnrollIterations;
+ /**
+ * Prefer DP4 instructions (rather than MUL/MAD) for matrix * vector
+ * operations, such as position transformation.
+ */
+ GLboolean PreferDP4;
+
struct gl_sl_pragmas DefaultPragmas; /**< Default #pragma settings */
};
struct gl_sl_pragmas DefaultPragmas; /**< Default #pragma settings */
};
@@
-3574,12
+3580,6
@@
struct gl_context
GLboolean TextureFormatSupported[MESA_FORMAT_COUNT];
GLboolean TextureFormatSupported[MESA_FORMAT_COUNT];
- /**
- * Use dp4 (rather than mul/mad) instructions for position
- * transformation?
- */
- GLboolean mvp_with_dp4;
-
GLboolean RasterDiscard; /**< GL_RASTERIZER_DISCARD */
/**
GLboolean RasterDiscard; /**< GL_RASTERIZER_DISCARD */
/**