| commit | eafa02222b96ef1ff74a84861c2671d4a3347870 | [log] [tgz] |
|---|---|---|
| author | Nicolas Capens <capn@google.com> | Mon Jan 26 00:23:01 2015 -0500 |
| committer | Nicolas Capens <capn@google.com> | Wed Feb 11 06:57:46 2015 +0000 |
| tree | 4e9b2db706a938302b7e08266f287501f91e745c | |
| parent | f8bce1f0517640efdee9684127a3bb4363a4a358 [diff] |
Make OutputASM header independent of GL headers. Bug 18962347 Change-Id: I90e3179b8b6e1ff8c8ac4c856c632252f098b95e Reviewed-on: https://swiftshader-review.googlesource.com/1830 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/compiler/OutputASM.h b/src/OpenGL/compiler/OutputASM.h index e0413b3..6b41698 100644 --- a/src/OpenGL/compiler/OutputASM.h +++ b/src/OpenGL/compiler/OutputASM.h
@@ -17,9 +17,6 @@ #include "Shader/PixelShader.hpp" #include "Shader/VertexShader.hpp" -#define GL_APICALL -#include <GLES2/gl2.h> - #include <list> #include <set> #include <map> @@ -29,6 +26,8 @@ class Shader; } +typedef unsigned int GLenum; + namespace glsl { struct Uniform