Commit Graph

  • 5441d665e1 Compiler - Wrong Result from Matrix Multiply TRAC #11751 Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-07 03:25:11 +00:00
  • 403c9e5961 Added libGLESv2, libEGL, and all samples to GYP. Review URL: http://codereview.appspot.com/878042 alokp@chromium.org 2010-04-06 17:53:31 +00:00
  • 27bf89bb30 Fixes an improper comparison in map TRAC #11649 Implementing this fix here because it's causing the glUniform conformance test not to pass. TranslatedBuffer would have problems during reloadCurrentValues because its required space and its current size were equal. Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-06 16:31:25 +00:00
  • 29d56fbb60 Added GYP build files. GYP files are needed for integration with chromium and cross-platform build for glsl translator. It would really be nice if we did not have to maintain two build systems. For now I have only moved the GLSL translator to gyp build system. Please note that the gyp files awkwardly have build_ prefix so they do not conflict with the manually-maintained sln files. Review URL: http://codereview.appspot.com/885043 alokp@chromium.org 2010-04-06 15:42:22 +00:00
  • 0e3358a6aa Compiler - implement proper varying linking TRAC #11716 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-05 20:32:42 +00:00
  • 279e38ad14 Compiler - fix mat3 conformance TRAC #11723 Matrix elements are accessed as [col][row] in GLSL and [row][col] in HLSL. Fixed this by transposing all matrix uniforms so they have a row-major layout. Then transpose them in the shader every time they're used in matrix math. Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-03 20:56:13 +00:00
  • 57a0bab8e1 ShaderSource does not generate needed errors TRAC #11664 Generate GL_INVALID_VALUE when shader name is 0 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-03 20:56:10 +00:00
  • 296ca9cc4a Compiler - match pixel and vertex shader profiles TRAC #11717 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-03 20:56:07 +00:00
  • cbbca00b05 Use the latest D3DX version for D3DXCompileShader instead of forcing D3DX9_31 TRAC #11347 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-01 13:39:32 +00:00
  • 41187f1d12 Fix glGetShaderSource conformance TRAC #11718 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-04-01 13:39:29 +00:00
  • 376e106436 Added support for loops. Review URL: http://codereview.appspot.com/802047 alokp@chromium.org 2010-03-31 20:25:53 +00:00
  • 3d2707820e Changes to pass 'abs' conformance tests. Review URL: http://codereview.appspot.com/858041 alokp@chromium.org 2010-03-30 20:33:38 +00:00
  • 2cf1771fd8 Removed tabs. Fixed formatting. Only white-space changes. Review URL: http://codereview.appspot.com/849043 alokp@chromium.org 2010-03-30 20:33:18 +00:00
  • dd037b2a85 Added support for user-defined structs. And fixed a bug in function return type. Review URL: http://codereview.appspot.com/849042 alokp@chromium.org 2010-03-30 18:47:20 +00:00
  • d25ab25109 Compiler - fix redeclaration of initialized globals TRAC #11617 Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-30 03:36:26 +00:00
  • ab58025b62 Use unique intermediate directories for translator projects daniel@transgaming.com 2010-03-30 03:36:22 +00:00
  • 6c78521ea3 Implement glGetAttachedShaders and glGetShaderPrecisionFormat. TRAC #11599 Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-30 03:36:17 +00:00
  • 02bc159423 Support software vertex processing TRAC #11632 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-30 03:36:13 +00:00
  • 4388487c8e Moved code to unmangle function name to a common place and used it in both OutputGLSL and OutputHLSL. Review URL: http://codereview.appspot.com/838041 alokp@chromium.org 2010-03-30 00:08:52 +00:00
  • 60fe407c36 Added TIntermSelection::usesTernaryOperator() to distinguish between selection nodes using ternary operator and if-else. Used in both OutputGLSL and OutputHLSL. Review URL: http://codereview.appspot.com/830042 alokp@chromium.org 2010-03-29 20:58:29 +00:00
  • 1180ea73f5 Fixed the title of texture-wrap sample. Review URL: http://codereview.appspot.com/834041 alokp@chromium.org 2010-03-29 19:43:46 +00:00
  • 76dbf17ff1 Support UNSIGNED_BYTE indices in DrawElements daniel@transgaming.com 2010-03-28 19:36:20 +00:00
  • 5e89073150 Update .gitignore daniel@transgaming.com 2010-03-28 19:36:18 +00:00
  • 0361b92f3f Compiler - active uniforms and attributes daniel@transgaming.com 2010-03-28 19:36:15 +00:00
  • 93a96c3eee Compiler - implement vector times matrix operation daniel@transgaming.com 2010-03-28 19:36:13 +00:00
  • cba5057cf3 Compiler - implement shader and program queries TRAC #11599 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens daniel@transgaming.com 2010-03-28 19:36:09 +00:00
  • e78c0c9975 Compiler - only declare used HLSL functions TRAC #11315 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens daniel@transgaming.com 2010-03-28 19:36:06 +00:00
  • 5e417109f6 fix warning for std::copy daniel@transgaming.com 2010-03-26 04:08:53 +00:00
  • b994e3bd46 fix warning from "normalized" cast daniel@transgaming.com 2010-03-26 04:08:50 +00:00
  • f8b58a0cb3 Support translating indices. daniel@transgaming.com 2010-03-26 04:08:45 +00:00
  • d989add518 Compiler - implement gl_PointCoord and point size clamping daniel@transgaming.com 2010-03-26 04:08:42 +00:00
  • ccad59f046 Compiler - implement gl_PointCoord and point size clamping daniel@transgaming.com 2010-03-26 04:08:39 +00:00
  • 76b820852b Added GLSL backend for ESSL translator. Review URL: http://codereview.appspot.com/698041 alokp@chromium.org 2010-03-24 17:59:39 +00:00
  • 32e58cdedb Implements support for setting/getting line width. daniel@transgaming.com 2010-03-24 09:44:10 +00:00
  • debe2591cc HLSL compilation shouldn't assume a 3.0 profile daniel@transgaming.com 2010-03-24 09:44:08 +00:00
  • d37dec85de The trace parameter is better termed 'message' instead of 'argument' daniel@transgaming.com 2010-03-24 09:44:05 +00:00
  • 24a0486194 Add smoke.tga for gles2\ParticleSystem sample daniel@transgaming.com 2010-03-24 09:44:03 +00:00
  • f64dd04c4c Fix warning from "normalized" cast. daniel@transgaming.com 2010-03-24 09:44:00 +00:00
  • 5539a34f24 Added a few samples from GLES 2.0 book. alokp@chromium.org 2010-03-22 19:34:05 +00:00
  • ea0e1af4c3 Minor reshuffling of directory structure in preparation of ESSL to GLSL compiler work. 1. Added include/GLSLANG which includes compiler API 2. Deleted src/include and moved the header files to the same directory as the corresponding source files 3. Modied include path to be relative to src/. I have only fixed paths for files I moved. We should fix it for all new files at least. It is much easier to see where an included file is coming from. alokp@chromium.org 2010-03-22 19:33:14 +00:00
  • 0599dc6def To output debug info use the TRACE macro instead of calling trace() daniel@transgaming.com 2010-03-21 04:31:36 +00:00
  • b5b0616063 Refactor the parenthesis from the TRACE/FIXME/ERR macros daniel@transgaming.com 2010-03-21 04:31:32 +00:00
  • d4620a3631 Don't crash on a null pointer passed to glBufferData daniel@transgaming.com 2010-03-21 04:31:28 +00:00
  • 159acdf5f6 Corrects scissor & viewport initialization. daniel@transgaming.com 2010-03-21 04:31:24 +00:00
  • ace5e66358 Implements support for FRONT_AND_BACK culling. daniel@transgaming.com 2010-03-21 04:31:20 +00:00
  • 5949aa10c6 Adds support for hints daniel@transgaming.com 2010-03-21 04:31:15 +00:00
  • 3489e3ae55 Implement glPixelStorei for Tex(Sub)Image2D. daniel@transgaming.com 2010-03-21 04:31:11 +00:00
  • 7051b97e76 Default textures to non-renderable. daniel@transgaming.com 2010-03-21 04:31:07 +00:00
  • 842f7a4ebf Partial TexSubImage after FBO rendering overwrites entire image. daniel@transgaming.com 2010-03-21 04:31:03 +00:00
  • bbb6cd0c6d Fix starting indices other than 0 for DrawArrays daniel@transgaming.com 2010-03-21 04:30:59 +00:00
  • 3d53fda08d ANGLE | Compiler - implement the ternary operator daniel@transgaming.com 2010-03-21 04:30:55 +00:00
  • adb5087a9f ANGLE | Don't perform any filtering when swapping daniel@transgaming.com 2010-03-21 04:30:52 +00:00
  • d70aa3398a Delete empty folders after reorganization Trac #11406 daniel@transgaming.com 2010-03-17 13:59:53 +00:00
  • 4da3d93531 update .gitignore file for new file locations Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:32 +00:00
  • 14c4631c46 Fix include paths in libEGL.vcproj Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:30 +00:00
  • 63e472ddd5 Fix include paths for libGLESv2.vcproj Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:28 +00:00
  • 50290ec93b Fix the case of all directories used by compiler.vcproj Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:26 +00:00
  • 7f9901776a Rename Compiler.vcproj -> compiler.proj and fix solution properties Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:24 +00:00
  • f08666967d mv Include -> include Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:18 +00:00
  • f4d3a31442 mv ANGLE.sln -> src/ANGLE.sln Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:13:13 +00:00
  • 7c46b9e695 mv libGLESv2 -> src/libGLESv2 Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:12:58 +00:00
  • 203934dcad mv libEGL -> src/libEGL Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:12:52 +00:00
  • b5462fcee0 mv Include/*.h -> /src/include/ Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:12:47 +00:00
  • acc5113033 mv Compiler/* -> src/compiler/* Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:12:17 +00:00
  • 42b207dad5 mv Compiler/Preprocessor -> src/compiler/preprocessor Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:12:07 +00:00
  • 395d503519 Move Compiler/Tools -> src/compiler/tools Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:12:00 +00:00
  • 5903aeb1f9 Move Common -> src/common Trac #11406 Signed-off-by: Nicolas Capens daniel@transgaming.com 2010-03-17 13:11:57 +00:00
  • 1e64143178 Add README and license information for bison and flex daniel@transgaming.com 2010-03-17 03:58:59 +00:00
  • 1436e26153 Implements separate stencil support to proposed WebGL limitations daniel@transgaming.com 2010-03-17 03:58:56 +00:00
  • f67f82ec8c Compiler - implement break/continue daniel@transgaming.com 2010-03-17 03:58:54 +00:00
  • 49bce7ef4a Compiler - implement matrix construction and equality daniel@transgaming.com 2010-03-17 03:58:51 +00:00
  • 7a2c280974 Correcting un-returned depth size in utility function. daniel@transgaming.com 2010-03-16 06:23:33 +00:00
  • 0009d62451 Creates new depthstencils for surfaces. daniel@transgaming.com 2010-03-16 06:23:31 +00:00
  • fe453651c4 Blend conformance bugfixes. daniel@transgaming.com 2010-03-16 06:23:28 +00:00
  • 12d5407ec2 Handle sampling from incomplete textures daniel@transgaming.com 2010-03-16 06:23:26 +00:00
  • 416485fb9c Select texture type based on program usage. daniel@transgaming.com 2010-03-16 06:23:23 +00:00
  • 9efa6f6b3d Provide default return values for unreachable code paths. daniel@transgaming.com 2010-03-16 06:23:20 +00:00
  • c7d8a9351c Whitespace fixes (trailing whitespace, CRLF). daniel@transgaming.com 2010-03-16 06:16:45 +00:00
  • 79b820b73a Compiler - implement gl_FrontFacing TRAC #11368 Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch From: Nicolas Capens <nicolas@transgaming.com> daniel@transgaming.com 2010-03-16 05:48:57 +00:00
  • 9b5f5443d6 Compiler - implement gl_FragCoord TRAC #11381 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-16 05:43:55 +00:00
  • 998dd9ffa1 Factor out all operators that are invalid for ES2. TRAC #11347 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-16 05:38:01 +00:00
  • 4143049817 Implement non-support for compressed textures. daniel@transgaming.com 2010-03-11 20:36:18 +00:00
  • 00c75964b6 Support glTexSubImage2D. daniel@transgaming.com 2010-03-11 20:36:15 +00:00
  • c21c227174 Vertex data translation broke the text in PVR samples. daniel@transgaming.com 2010-03-11 19:44:45 +00:00
  • 86487c20aa Compiler - implement gl_DepthRange TRAC #11380 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-11 19:41:43 +00:00
  • 0f7aaf530b Add support for Vertex Buffer Data Translation daniel@transgaming.com 2010-03-11 19:41:38 +00:00
  • 45d035808a Compiler - access struct fields TRAC #11379 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-11 19:41:29 +00:00
  • fbb6dfa3d6 Compiler - handle high loop iteration counts TRAC #11345 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-11 19:41:25 +00:00
  • 29d2700535 Support redefinition of textures through glTexImage2D. daniel@transgaming.com 2010-03-11 19:41:22 +00:00
  • fab5a1ae78 Remove trailing whitespace. daniel@transgaming.com 2010-03-11 19:22:30 +00:00
  • 1697302adc Use std::min/max instead of the Windows macros. daniel@transgaming.com 2010-03-11 19:22:19 +00:00
  • e2b2212912 Whitespace fixes. daniel@transgaming.com 2010-03-11 19:22:14 +00:00
  • 64eedfd706 Added codereview settings file. alokp@chromium.org 2010-03-10 23:51:56 +00:00
  • 4a9d65cba6 Implemented support for GL_STENCIL_INDEX8 renderbuffers TRAC #11366 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-08 21:30:56 +00:00
  • 680553bf90 Compiler - implement faceforward TRAC #11365 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-08 21:30:52 +00:00
  • 2884b78ae1 Fix regression from HRESULT checking changes TRAC #11234 Signed-off-by: Daniel Koch daniel@transgaming.com 2010-03-08 21:30:48 +00:00
  • 4f39fd9956 Initial import from TransGaming daniel@transgaming.com 2010-03-08 20:26:45 +00:00
  • eff14256db Initial directory structure. (no author) 2010-03-03 19:46:25 +00:00