daniel@transgaming.com
86f7c9df37
Only output referenced attributes, uniforms and varyings
...
TRAC #11590
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@163 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:06 +00:00
daniel@transgaming.com
5024cc4940
Implemented biased textureCube sampling
...
TRAC #11884
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@162 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:04 +00:00
daniel@transgaming.com
8fd99e2696
Implement support for mipmap generation
...
TRAC #11338
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@161 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:00 +00:00
daniel@transgaming.com
5d2bee9325
Implements GetTexParameteriv
...
TRAC #11721
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@160 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:51:56 +00:00
daniel@transgaming.com
743d773d80
Accidentally moved a read of translated[i].stride before the write.
...
TRAC #11847
(Fixes PVR-RenderToTexture regression)
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@159 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:32 +00:00
daniel@transgaming.com
a0c34d27e1
Fixed crashes caused by a string buffer overflow
...
TRAC #11888
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@158 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:30 +00:00
daniel@transgaming.com
005c73922f
Create unique names for unnamed parameters
...
TRAC #11873
HLSL requires parameter names in function prototypes
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@157 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:27 +00:00
daniel@transgaming.com
bb8853289b
Don't crash on null conditional block
...
TRAC #11871
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@156 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:24 +00:00
daniel@transgaming.com
7127f2076d
Initialize all shader variables
...
TRAC #11869
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@155 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:22 +00:00
daniel@transgaming.com
7603947656
Fixed the GLSL ES version
...
TRAC #11867
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@154 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:18 +00:00
daniel@transgaming.com
5af6427dc3
Implemented gl_FrontFacing for lines and points
...
TRAC #11419
Lines and points are always considered front-facing
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@153 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:12 +00:00
daniel@transgaming.com
e007896b1a
Implements GetVertexAttrib
...
TRAC #11653
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@152 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:08 +00:00
daniel@transgaming.com
aa0ccbd9f0
Implements GetBufferParameteriv
...
TRAC #11720
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@151 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:05 +00:00
daniel@transgaming.com
34dc3e8a5e
Creating a 0x0 texture fails.
...
TRAC #11792
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@150 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:02 +00:00
daniel@transgaming.com
aa1ff87981
Translate/lift vertex attributes when input stride or offset is not a multiple of 4.
...
TRAC #11847
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@149 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:44:58 +00:00
daniel@transgaming.com
b587598cb8
Implemented short-circuiting behavior for the ternary operator
...
TRAC #11444
This is achieved by turning the ternary operator into conditional code.
The UnfoldSelect intermediate code traverser places this conditional
code before the statement containing the ternary operator (aka. select).
The computed value is assigned to a temporary variable.
On outputting the actual statement the ternary operator is
replaced by the temporary variable.
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@148 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:44:53 +00:00
daniel@transgaming.com
ec55d29a1c
Clean up old comments
...
TRAC #11444
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@147 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:44:49 +00:00
daniel@transgaming.com
edab063ed2
Add NOMINMAX define to the compiler projects
...
Trac #11859
To be consistent with the rest of the projects and GYP.
Signed-off-by: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@146 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:53 +00:00
daniel@transgaming.com
bb2e963617
Fail compilation on empty source string
...
TRAC #11814
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@145 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:50 +00:00
daniel@transgaming.com
3c010c02d5
Remove name clash warnings
...
TRAC #11314
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@144 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:47 +00:00
daniel@transgaming.com
72d0b52e40
Decorate all GLSL user-defined names with an underscore to avoid name clashes
...
TRAC #11314
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@143 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:44 +00:00
daniel@transgaming.com
5ac521598c
Corrects a green/blue channel swap in loadImageData
...
TRAC #11630
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@142 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:38 +00:00
daniel@transgaming.com
c847820dc8
Corrects error handling in UseProgram
...
TRAC #11666
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@141 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:35 +00:00
daniel@transgaming.com
d1abe5b0ed
Corrects error handling in GetUniformLocation
...
TRAC #11845
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@140 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:33 +00:00
daniel@transgaming.com
23953e3ef3
Fixes error handling in GetAttachedShaders
...
TRAC #11846
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@139 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:31 +00:00
daniel@transgaming.com
8976c1e864
Store all matrices as column-major and transpose when needed
...
TRAC #11825
Due to the difference in [][] matrix indexing between GLSL and HLSL, all matrices are stored in transposed format (column-major from the HLSL point of view), and transposed back when performing matrix math. Previously some paths didn't follow this principle.
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@138 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:27 +00:00
alokp@chromium.org
47c058c32e
Fixing compile error. GYP projects use NOMINMAX to suppress non-standard VC++ min/max.
...
Review URL: http://codereview.appspot.com/892046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@137 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 15:30:05 +00:00
daniel@transgaming.com
277b7142ed
Fixes error handling in LinkProgram
...
TRAC #11821
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@136 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:44 +00:00
daniel@transgaming.com
8e6a6be85e
Fixes error handling in ShaderSource
...
TRAC #11664
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@135 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:41 +00:00
daniel@transgaming.com
75401e61fb
Fixes improper error generation by DeleteShader
...
TRAC #11662
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@134 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:39 +00:00
daniel@transgaming.com
0cefaf45e4
Fixes error handling in CompileShader
...
TRAC #11822
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@133 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:36 +00:00
daniel@transgaming.com
b8c28eddec
Implement CopyTex(Sub)Image2D
...
TRAC #11474
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@132 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:32 +00:00
daniel@transgaming.com
980798393d
Fixes error handling in BindAttribLocation
...
TRAC #11661
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@131 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:29 +00:00
daniel@transgaming.com
cf4aa8790c
Checks link status of program before returning attribute locations.
...
TRAC #11658
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@130 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:27 +00:00
daniel@transgaming.com
e9d6ed036a
Corrects error handling in AttachShader
...
TRAC #11659
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@129 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:23 +00:00
daniel@transgaming.com
bb274c35d5
Fixes incorrect error handling in GetAttribLocation
...
TRAC #11657
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@128 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:21 +00:00
daniel@transgaming.com
d91cfe7e3c
Implemented struct equality
...
TRAC #11727
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@127 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:17 +00:00
daniel@transgaming.com
950f993b88
Compiler - split header, body and footer output
...
TRAC #11798
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@126 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:14 +00:00
daniel@transgaming.com
73c2c2eddc
Implements correct error handling for DetachShader
...
TRAC #11663
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@125 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:11 +00:00
daniel@transgaming.com
79f6677d38
Implements support for IsEnabled
...
TRAC #11750
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@124 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:09 +00:00
daniel@transgaming.com
bb3d9d03b7
Implements glGetUniform
...
TRAC #11647
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@123 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:06 +00:00
daniel@transgaming.com
9a95e2bb66
Implements Uniform*i{v}
...
TRAC #11649
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@122 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:03 +00:00
daniel@transgaming.com
f4a0c8e808
Implements support for boolean uniforms
...
TRAC #11734
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@121 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:01 +00:00
daniel@transgaming.com
d1acd1ed5a
Implemented function prototyping and in/out parameters
...
TRAC #11725
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@120 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:25:57 +00:00
daniel@transgaming.com
afb239577f
Implemented glReadPixels for the implementation-dependent format
...
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@119 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:25:54 +00:00
daniel@transgaming.com
26e9604f9e
update contributors list
...
git-svn-id: https://angleproject.googlecode.com/svn/trunk@118 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:13 +00:00
daniel@transgaming.com
13881545ce
Compiling error in x64: WidenToFour template incorrect type.
...
TRAC #11811
Submitted-by: Aitor Moreno
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@117 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:11 +00:00
daniel@transgaming.com
fe56515917
Implemented support for user-defined structures
...
TRAC #11730
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@116 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:07 +00:00
daniel@transgaming.com
f52561c2b6
Can't change attribute locations after original link
...
TRAC #11290
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@115 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:04 +00:00
daniel@transgaming.com
7441c9cc25
Associate the sample.sln file with visual C++ express.
...
Trac #11802
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@114 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 15:01:05 +00:00