Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Rewrite the way uniforms are tracked and handled | Ian Romanick | 2011-11-07 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | Switch all of the code in ir_to_mesa, st_glsl_to_tgsi, glUniform*, glGetUniform, glGetUniformLocation, and glGetActiveUniforms to use the gl_uniform_storage structures in the gl_shader_program. A couple of notes: * Like most rewrite-the-world patches, this should be reviewed by applying the patch and examining the modified functions. * This leaves a lot of dead code around in linker.cpp and uniform_query.cpp. This will be deleted in the next patches. v2: Update the comment block (previously a FINISHME) in _mesa_uniform about generating GL_INVALID_VALUE when an out-of-range sampler index is specified. Signed-off-by: Ian Romanick <[email protected]> Tested-by: Tom Stellard <[email protected]> | ||||
* | mesa: Use Add linker_error instead of fail_link | Ian Romanick | 2011-09-30 | 1 | -14/+3 |
| | | | | | | | See also 8aadd89. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | mesa: support boolean and integer-based parameters in prog_parameter | Bryan Cain | 2011-08-01 | 1 | -1/+1 |
| | | | | | | The functionality is not used by anything yet, and the glUniform functions will need to be reworked before this can reach its full usefulness. It is nonetheless a step towards integer support in the state tracker and classic drivers. | ||||
* | Use C-style system headers in C++ code to avoid issues with std:: namespace | Ian Romanick | 2011-02-21 | 1 | -1/+0 |
| | |||||
* | Convert everything from the talloc API to the ralloc API. | Kenneth Graunke | 2011-01-31 | 1 | -11/+9 |
| | |||||
* | mesa: Fix C++ includes in sampler.cpp | Chad Versace | 2010-11-02 | 1 | -4/+4 |
| | | | | | | | | | Some C++ header files were included in an extern "C" block. When building with Clang, this caused the build to fail due to namespace errors. (GCC did not report any errors.) Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: Pull ir_to_mesa's sampler number fetcher out to shared code. | Eric Anholt | 2010-09-28 | 1 | -0/+140 |