Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Need to add local vars of original function to the new scope's variable
list (though the DECLs were already present).
In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
|
|
|
|
|
|
Before, main() had to come after any functions it called.
|
|
Before, main() had to come after any functions it called.
|
|
|
|
In addition, this pass fixes non-native swizzles.
|
|
|
|
cherry-picked from master
|
|
|
|
The old implementation could overwrite the caller's param buffer.
|
|
The old implementation could overwrite the caller's param buffer.
|
|
|
|
|
|
|
|
Fixes a failure for cases such as y = f(a, f(a, b))
All the usual tests still pass but regressions are possible...
|
|
|
|
|
|
|
|
|
|
program isn't linked
|
|
program isn't linked
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cherry-picked from master
|
|
cherry-picked from master
|
|
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE
or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a
'program' or is a totally unknown ID.
There might be other cases to fix...
cherry-picked from master
|
|
|