Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: Fix the response len of masked sampler messages for 8-wide dispatch. | Eric Anholt | 2010-03-10 | 1 | -2/+12 |
| | | | | | | | | | The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902). | ||||
* | i965: Print the offset for IFF in disasm | Eric Anholt | 2010-03-10 | 1 | -1/+1 |
| | |||||
* | mesa: raise an error when trying to bind non-existant texture to FBO | Brian Paul | 2010-03-10 | 1 | -0/+8 |
| | | | | | | | | If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian? | ||||
* | mesa: added new function comments | Brian Paul | 2010-03-10 | 1 | -0/+8 |
| | |||||
* | st/mesa: set strb->format field in st_render_texture() | Brian Paul | 2010-03-10 | 1 | -0/+2 |
| | | | | | | This fixes a problem in glReadPixels when reading from an FBO's texture attachment. We have a better chance at hitting a fast path for glReadPixels now. | ||||
* | st/mesa: add some comments in glReadPixels code | Brian Paul | 2010-03-10 | 1 | -0/+7 |
| | |||||
* | st/mesa: consolidate duplicated texture allocation code | Brian Paul | 2010-03-10 | 1 | -49/+49 |
| | |||||
* | Merge branch '7.8' | Brian Paul | 2010-03-10 | 1 | -6/+23 |
|\ | |||||
| * | st/mesa: fix incorrect glCopyPixels between window/FBO | Brian Paul | 2010-03-10 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078) | ||||
| * | st/mesa: fix incorrect glDrawPixels into FBO | Brian Paul | 2010-03-10 | 1 | -2/+7 |
| | | | | | | | | | | | | We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847) | ||||
* | | Merge branch '7.8' | Michel Dänzer | 2010-03-10 | 1 | -0/+4 |
|\| | |||||
| * | radeon: don't attempt to use alternate blit formats for depth buffers | Alex Deucher | 2010-03-08 | 1 | -0/+4 |
| | | | | | | | | noticed by fredrikh on IRC. | ||||
* | | r200: add additional blit formats | Alex Deucher | 2010-03-10 | 1 | -0/+17 |
| | | |||||
* | | r100: add additional blit formats | Alex Deucher | 2010-03-10 | 1 | -0/+14 |
| | | |||||
* | | radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)Pixels | Alex Deucher | 2010-03-10 | 7 | -538/+15 |
| | | |||||
* | | glapi: fix bug with tls and relocs | George Sapountzis | 2010-03-10 | 1 | -0/+3 |
| | | | | | | | | | | | | add_dispatch (driver) and maybe get_proc_address (client) may be called before set_dispatch is called, which results in generate_entrypoint using an unreloced function template. | ||||
* | | glapi: these two should be ok for add_dispatch ... | George Sapountzis | 2010-03-10 | 1 | -1/+5 |
| | | | | | | | | | | | | - a function cannot be both static and extension, right ? - we should be setting the offset only if not already set, right ? | ||||
* | | glapi: comments for _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -6/+18 |
| | | |||||
* | | glapi: minor cosmetic for _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -10/+11 |
| | | |||||
* | | glapi: add function set_entry_info | George Sapountzis | 2010-03-10 | 1 | -3/+22 |
| | | |||||
* | | glapi: parameter checking, failure paths, ... for add_function_name | George Sapountzis | 2010-03-10 | 1 | -12/+26 |
| | | |||||
* | | glapi: cosmetic for _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -25/+32 |
| | | | | | | | | | | | | | | - static vs. extension - indent - s/new_offset/static_offset/ - ... | ||||
* | | glapi: use get_extension_proc in _glapi_add_dispatch | George Sapountzis | 2010-03-10 | 1 | -12/+8 |
| | | |||||
* | | glapi: cosmetic for functions for static table | George Sapountzis | 2010-03-10 | 1 | -26/+33 |
| | | | | | | | | make similar to functions for extensions table | ||||
* | | glapi: add function to find extension by name | George Sapountzis | 2010-03-10 | 1 | -10/+21 |
| | | |||||
* | | glapi: functions for extensions table similar to static table | George Sapountzis | 2010-03-10 | 1 | -19/+50 |
| | | |||||
* | | gallium: Do not mix winsys-drawable-handle and context-private. | Chia-I Wu | 2010-03-10 | 3 | -2/+3 |
| | | | | | | | | | | update_buffer should be called with context-private, not winsys-drawable-handle. | ||||
* | | gallium: plumb winsys-drawable-handle through to state tracker | Keith Whitwell | 2010-03-10 | 2 | -3/+8 |
| | | | | | | | | | | | | | | The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering. | ||||
* | | i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT. | Eric Anholt | 2010-03-09 | 1 | -2/+4 |
| | | | | | | | | | | Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. | ||||
* | | i965: Unalias all GLSL source regs from the destination regs used. | Eric Anholt | 2010-03-09 | 1 | -113/+25 |
| | | | | | | | | | | | | | | | | | | | | | | We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop. | ||||
* | | i965: Print the offsets for WHILE and BREAK in disasm. | Eric Anholt | 2010-03-09 | 1 | -2/+2 |
| | | |||||
* | | i965: Fix nested loops in the VS. | Eric Anholt | 2010-03-09 | 1 | -2/+4 |
| | | | | | | | | | | | | | | We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested. | ||||
* | | i965: Fix up VP constbuf leak on program delete. | Eric Anholt | 2010-03-09 | 1 | -3/+11 |
| | | |||||
* | | r300: don't crash if there's no colorbuffer | Maciej Cencora | 2010-03-09 | 1 | -1/+6 |
| | | |||||
* | | radeon: mark framebuffer as incomplete if renderbuffer format isn't ↵ | Maciej Cencora | 2010-03-09 | 2 | -67/+62 |
| | | | | | | | | supported by hw | ||||
* | | r300: add support for more rendering formats | Maciej Cencora | 2010-03-09 | 2 | -17/+79 |
| | | |||||
* | | radeon/r200/r300/r600: add is_format_renderable function | Maciej Cencora | 2010-03-09 | 9 | -0/+70 |
| | | |||||
* | | r300: enable HW accelerated gl(Read/Copy/Draw)Pixels | Maciej Cencora | 2010-03-09 | 1 | -2/+7 |
| | | |||||
* | | radeon: add hw accelerated glReadPixel support (not enabled yet) | Maciej Cencora | 2010-03-09 | 9 | -2/+203 |
| | | |||||
* | | glapi: Fix scons build -- list new file. | José Fonseca | 2010-03-09 | 1 | -0/+1 |
| | | |||||
* | | glapi: allow for any mangle prefix | George Sapountzis | 2010-03-09 | 1 | -2/+3 |
| | | |||||
* | | glapi: split out arch-specific code for entrypoints | George Sapountzis | 2010-03-09 | 4 | -295/+357 |
| | | |||||
* | | glapi: mv table functions to glapi_getproc.c and add local header | George Sapountzis | 2010-03-09 | 4 | -66/+98 |
| | | |||||
* | | drop stray XFree86Server, XGLServer | George Sapountzis | 2010-03-09 | 1 | -4/+4 |
| | | |||||
* | | mesa/st: initialize velements state properly | Roland Scheidegger | 2010-03-09 | 1 | -0/+1 |
| | | | | | | | | | | | | one variable is a bitfield where the rest is never written to, which caused valgrind to complain. Might have caused cso to not recognize an already stored state. Reported by Christoph Bumiller. | ||||
* | | Merge branch 'gallium-vertexelementcso' | Roland Scheidegger | 2010-03-09 | 7 | -5/+26 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c | ||||
| * | | st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interface | Roland Scheidegger | 2010-03-09 | 5 | -0/+23 |
| | | | | | | | | | | | | somehow those got lost... | ||||
| * | | st/mesa: fix mesa statetracker adaption to new vertex elements interface | Roland Scheidegger | 2010-03-01 | 1 | -1/+2 |
| | | | |||||
| * | | gallium: remove redundant nr_components field from pipe_vertex_element | Roland Scheidegger | 2010-02-17 | 2 | -4/+0 |
| | | | | | | | | | | | | | | | This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead. | ||||
* | | | mesa/st: Gallium quads, by spec, never change provoking vertex. | Corbin Simpson | 2010-03-09 | 1 | -0/+3 |
| | | | | | | | | | | | | Fixes glean/clipFlat for r300g. |