Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-10 | i965: asst. code clean-ups, comments | Brian Paul | |
2009-03-10 | i965: fix typos in comments | Brian Paul | |
2009-03-10 | glsl: remove _slang_attach_storage() function | Brian Paul | |
This was used to handle both variable declarations and references to variables. Instead, just do storage allocation and assignment for declarations and references, respectively. This is a step toward better var/uniform allocation (only allocate storage for vars/uniforms that are actually referenced by the code). | |||
2009-03-10 | glsl: some clean-ups, remove old assertions, add new assertions | Brian Paul | |
2009-03-10 | glsl: remove stray/unneeded totalSize assignment | Brian Paul | |
2009-03-10 | mesa: fix dumb sizeof() vs. strlen() mix-up | Brian Paul | |
2009-03-10 | glsl: fix typo: s/vec4_tex1d_proj/vec4_tex_1d_proj/ | Brian Paul | |
This regression came from commit c0b59420eec5ffdf22a5919d38851c3620b97c09. | |||
2009-03-09 | xmesa: set back-buffer's drawable field | Brian Paul | |
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap | |||
2009-03-09 | i965: fix cube map lock-up / corruption | Brian Paul | |
If we're using anything but GL_NEAREST sampling of a cube map, we need to use the BRW_TEXCOORDMODE_CUBE texcoord wrap mode. Before this, the GPU would either lock up or subsequent texture filtering would be corrupted. | |||
2009-03-09 | st: silence warning | Brian Paul | |
2009-03-09 | st: remove unused DrawPixels code | Brian Paul | |
2009-03-09 | st: use pointer_to_offset() cast wrapper to convert pointers to uint | Brian Paul | |
Silences warnings with 64-bit builds. See comments for details. | |||
2009-03-09 | mesa: reorder register file enums | Brian Paul | |
2009-03-09 | st: also check for a8 texture support in bitmap code | Keith Whitwell | |
2009-03-09 | fix typo in fragment pipe alu define, should fix dot3_rgb tex combine | Roland Scheidegger | |
2009-03-09 | vbo: yet tighter still usage of FLUSH_NEED_CURRENT | Keith Whitwell | |
Previous change broke redbook/polys and probably others. I'm fairly sure that drivers like r300 don't need to touch ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm not confident about removing it from there. Hopefully this gets things working again. | |||
2009-03-09 | vbo: stricter checks on Driver.NeedFlush | Keith Whitwell | |
This variable is being used in the r300 driver to trigger a flush under circumstances unrelated to the use in the vbo module. Tighten up the checks in vbo so as to avoid conflict with r300. Reported by Maciej Cencora <m.cencora@gmail.com> | |||
2009-03-07 | mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build | Brian Paul | |
2009-03-07 | gallium: use unsigned long to silence warnings with 64-bit build | Brian Paul | |
2009-03-07 | r300: remove assignment to removed StringPos field | Brian Paul | |
2009-03-07 | mesa: move shared context state functions to new shared.c file | Brian Paul | |
2009-03-07 | vbo: make bind_array_obj() code a little more concise | Brian Paul | |
2009-03-07 | mesa: use @ to silence some Makefile output | Brian Paul | |
2009-03-07 | mesa: move glViewport and glDepthRange functions into new viewport.c file | Brian Paul | |
A bit of refactoring with an eye toward ES2 and GL 3.1 | |||
2009-03-07 | swrast: remove old comment | Brian Paul | |
2009-03-07 | swrast: rename s_buffers.c -> s_clear.c | Brian Paul | |
2009-03-07 | mesa: gl_register_file enum typedef | Brian Paul | |
2009-03-07 | mesa: remove GL_MESA_program_debug extension | Brian Paul | |
This was never fully fleshed out and hasn't been used. | |||
2009-03-07 | mesa: silence warning | Brian Paul | |
2009-03-07 | mesa: remove last of _mesa_unreference_framebuffer() calls | Brian Paul | |
2009-03-07 | r300: shut up valgrind | Maciej Cencora | |
It complained about uninitialized values Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> | |||
2009-03-06 | glsl: call the program optimizer | Brian Paul | |
This still needs more testing bug glean and Mesa GLSL tests seem OK. | |||
2009-03-06 | i965: check if we run out of GRF/temp registers | Brian Paul | |
Before this change we would up emitting instructions with invalid register numbers. This typically (but not always) hung the GPU. For now, just prevent emitting bad instructions to avoid hangs. Still need to do some kind of proper error recovery. | |||
2009-03-06 | mesa: added _mesa_read_shader() function to read shaders from files | Brian Paul | |
Useful for debugging to override an application's shader. | |||
2009-03-06 | i965: bump up BRW_EU_MAX_INSN | Brian Paul | |
This is the size of the intermediate instruction buffer. | |||
2009-03-06 | mesa: add new program optimizer code | Brian Paul | |
This is pretty simplistic for now, but helps with certain shaders. | |||
2009-03-06 | i965: comments | Brian Paul | |
2009-03-06 | i965: comments and minor clean-ups | Brian Paul | |
2009-03-06 | i965: avoid unnecessary calls to brw_wm_is_glsl() | Brian Paul | |
This function scans the shader to see if it has any GLSL features like conditionals and loops. Calling this during state validation is expensive. Just call it when the shader is given to the driver and save the result. There's some new/temporary assertions to be sure we don't get out of sync on this. | |||
2009-03-06 | r300: fix depth write regression (found by Nicolai Haehnle) | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: enable EXT_fog_coord extension | Maciej Cencora | |
Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: route fog coord and W pos correctly | Maciej Cencora | |
Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: rewrite and hopefully simplify RS setup | Maciej Cencora | |
Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: add few macros for RS setup | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: silence valgrind | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: Print reg address when debugging is enabled | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: don't crash on sw tcl hw if point size vertex attrib is sent | Maciej Cencora | |
2009-03-06 | mesa: Reads must also be done with lock held. | José Fonseca | |
Otherwise two threads might think each made the refcount go zero. | |||
2009-03-06 | mesa: Fix typo. | José Fonseca | |
Windows threads block if one over-unlocks them. |