Age | Commit message (Collapse) | Author |
|
|
|
|
|
The type of the resulting constant must be the same as the type of the
original expression. The changes to the code require that the case
where an unhandled expression is received, and there really shouldn't
be any of these, must be an exit point.
|
|
The types must match exactly, so there is no reason to check the types here.
|
|
|
|
|
|
|
|
|
|
|
|
There are no functional changes. Code is just moved arround. This
prepares for the next set of changes that do change the functionality.
|
|
|
|
|
|
All of the cases (e.g., arrays and structures) that were being
filtered by these tests were already filtered by the earlier
is_numeric and is_boolean tests.
|
|
|
|
|
|
|
|
|
|
|
|
Eventually code that processes constant structure constructors will
need to use the processed list of parameters.
|
|
|
|
|
|
|
|
|
|
|
|
This causes the following tests to pass:
glslparsertest/shaders/CorrectMatComma2.frag
One of the incorrect errors in glslparsertest/shaders/CorrectComma.frag
is also eliminated.
|
|
|
|
|
|
|
|
|
|
During generation of calls to constructors, derefernce constants by creating
new constants instead of creating dereferences.
|
|
|
|
The previous code just had dumb cut-and-paste errors.
|
|
|
|
|
|
|
|
This doesn't actually affect anything yet, but is good to fix anyway.
|
|
|
|
|
|
|
|
|
|
If the argument is a constant expression...it's not changing per pixel,
so the result is simply 0.
|
|
|
|
|
|
CorrectFunction.vert now passes.
|
|
idr suggested this. Eventually we will need a real one.
|
|
This is tacked on to the end of the 'asin' file because acos calls asin,
whech means asin needs to be defined first. Alphabetical order fail.
|
|
|
|
|
|
|
|
|