summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul2009-08-041-0/+1
|
* mesa: better texture dump/debug codeBrian Paul2009-08-041-52/+45
|
* mesa: more error message info for vertex pointer functionsBrian Paul2009-08-041-6/+12
|
* mesa: more glGetTexImage() error checking consolidation, new assertionBrian Paul2009-08-041-8/+12
|
* i965: Fix RECT shadow sampling by not losing the other texcoords.Eric Anholt2009-08-041-1/+5
| | | | Bug #20821
* mklib: Ensure target directory exists for libraryDan Nicholson2009-08-041-0/+1
| | | | | | | | Instead of relying on the Makefile to always generate $(TOP)/$(LIB_DIR), just have mklib handle creating the directory. This should fix any races when using parallel make. Signed-off-by: Dan Nicholson <[email protected]>
* r300g: Slightly saner initialization of some texture / transfer fields.Michel Dänzer2009-08-042-6/+5
|
* i965: Assert that the offset in the VBO is below the VBO size.Eric Anholt2009-08-031-0/+14
| | | | | | | | | | This avoids sending a bad buffer address to the GPU due to programmer error, and is permitted by the ARB_vbo spec. Note that we still have the opportunity to dereference past the end of the GPU, because we aren't clipping to a correct _MaxElement, but that appears to be harder than it should be. This gets us the 90% solution. Bug #19911.
* i965: Even if no VS inputs are set, still load some amount of URB as required.Eric Anholt2009-08-031-0/+11
| | | | | | See comment on Vertex URB Entry Read Length for VS_STATE. This, combined with the previous three commits, fixes #22945.
* i965: Make sure the VS URB size is big enough to fit a VF VUE.Eric Anholt2009-08-031-2/+8
| | | | | This fix is just from code and docs inspection, but it may fix hangs on some applications.
* i965: Don't emit bad packets when no VBs are referenced.Eric Anholt2009-08-031-0/+22
| | | | | | | | | It appears that sometimes Mesa (and I suppose a VS could as well) emits a program which references no vertex data, and thus we end up with nr_enabled == 0 even though some VBs are enabled. We'd end up emitting VB/VE packet headers of 0xffffffff in that case, leading to GPU hangs. Bug #22945 (wine with an uncompiled VS)
* i965: Calculate enabled[] and nr_enabled once and re-use the values.Eric Anholt2009-08-032-29/+18
| | | | The code duplication bothered me.
* typo fixRobert Ellison2009-08-031-1/+1
| | | | somehow, this change was missed on the last checkin
* mesa: fix up some GLAPI XMLRobert Ellison2009-08-033-38/+100
| | | | | | | | | | - Added specifications for the extensions GL_APPLE_flush_buffer_range and GL_APPLE_texture_range - EXT_framebuffer_object.xml strangely held specifications for both the GL_EXT_framebuffer_object extension and the GL_EXT_texture_array extension. Split out the GL_EXT_texture_array data into its own file.
* radeon: more fixes for compressed texturesRoland Scheidegger2009-08-042-11/+30
| | | | | | | | | | | | | | | | - fix not respecting required hardware stride with compressedTexImage - this fixes #22615. - make sure correct stride is used in various places - fix stored miptree never matching with a TexImage call with compressed texture - don't always store data with compressedtexsubimage at offset 0, and actually use the supplied pixel data... (untested) - make sure rows for compressed texture handling are rounded up not down Note that trying to access stored compressed textures in hardware miptrees from core mesa (get_compressed_teximage, swrast fallbacks) can't work correctly, since RowStride isn't really set to anything useful, plus some places (at least get_compressed_teximage) assume this data has native stride and no padding.
* radeon: Fix inverted test for disabling flushing of front buffer output.Eric Anholt2009-08-031-1/+1
| | | | (corresponding fix to the intel driver one)
* intel: Fix inverted test for disabling flushing of front buffer output.Eric Anholt2009-08-031-1/+1
| | | | | | | | The comment disagreed with the code, and nicely drew my eyes to what was going wrong. Bug #21774 (blender) Bug #21788 (readpix)
* intel: Wait on the last swapbuffers to complete before queuing a new one.Eric Anholt2009-08-033-0/+28
| | | | | | | | | | | This fixes jerkiness in doom3 and other apps since the kernel change to throttle less absurdly, which led to a thundering herd of frames. Because this is a rather minimal fix, there is at least one downside: If the whole scene completes in one batchbuffer, we'll end up stalling the GPU. Thanks to Michel Dänzer for suggesting using glFlush to signal frame end instead of going to all the effort of adding a new DRI2 extension.
* r600: add some new r7xx pci idsAlex Deucher2009-08-032-0/+10
|
* texenv: Use VP->Current, since _Current isn't updated at this point.Eric Anholt2009-08-031-1/+1
|
* texenv: Match state.c in deciding whether we'll be using a vertex shader.Eric Anholt2009-08-031-0/+1
|
* texenv: Add missing dependency on VP changes.Eric Anholt2009-08-031-1/+2
| | | | | Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it.
* egl_softpipe: Add support for pbuffer surface.Chia-I Wu2009-08-031-7/+96
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* egl: Correct the default values of surface attributes.Chia-I Wu2009-08-031-1/+2
| | | | | | | EGL_TEXTURE_FORMAT and EGL_TEXTURE_TARGET should default to EGL_NO_TEXTURE. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Make eglMakeCurrent more robust.Chia-I Wu2009-08-031-52/+46
| | | | | | | | | | Now that a current surface points back to its binding context, and a current context points back to its binding thread, make sure there is no dangling pointers. This commit reworks eglMakeCurrent, adds more checks to avoid stealing context or surfaces from another thread, and correctly destroys unlinked context and surfaces. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Replace IsBound by a pointer to the binding.Chia-I Wu2009-08-0312-27/+49
| | | | | | | | | IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <[email protected]>
* gl: upgrade wglext.h to version 15Brian Paul2009-08-031-4/+15
|
* gl: upgrade glxext.h to version 23Brian Paul2009-08-031-3/+15
|
* gl: upgrade glext.h to version 54Brian Paul2009-08-031-51/+515
|
* tgsi: report opcode name in addition to the number when translation failsBrian Paul2009-08-032-3/+9
|
* tgsi: added tgsi_get_opcode_name()Brian Paul2009-08-032-0/+13
|
* gallium: comments, reformattingBrian Paul2009-08-031-17/+32
|
* r600: add some missing pci idsAlex Deucher2009-08-032-0/+4
|
* r600: fix the build when RADEON_DEBUG_BO is setAlex Deucher2009-08-031-1/+1
|
* r600: fix r600SetTexOffsetAlex Deucher2009-08-033-5/+39
| | | | | | | | | We need to properly set up a fake bo for the texture override, so add a new function to radeon_bo_legacy.c. This could probably be used on radeon/r200/r300 to unify the bo handling for texture override. compiz now works :)
* Merge commit 'nha/r300-compiler-gallium'Corbin Simpson2009-08-0221-1957/+1035
|\
| * r300g: Use radeon compiler for fragment programsNicolai Hähnle2009-07-3017-1312/+450
| | | | | | | | This is entirely untested on R500, and needs more testing on R300.
| * r300g: Remove extraneous printfNicolai Hähnle2009-07-301-2/+0
| | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
| * r300g: Use r300compiler for vertex shadersNicolai Hähnle2009-07-3016-750/+692
| |
* | r600: handle state emit betterAlex Deucher2009-08-023-8/+16
| | | | | | | | | | - move shader-related state with the rest of the shader setup/emit - start to track dirty state better
* | r600: Logic Operations Fixvehemens2009-08-021-5/+37
| | | | | | | | fixes bug 23087
* | r600: fix regression in texenvAlex Deucher2009-08-023-60/+37
| | | | | | | | Emit shader consts with the shader program itself
* | r300: Fix a regression on non-KMSNicolai Hähnle2009-08-021-8/+11
| | | | | | | | | | | | The regression was introduced by 9a1c336253579d8b58b31910325227b22b4af395 Signed-off-by: Nicolai Hähnle <[email protected]>
* | r600: fix rectangle texturesAlex Deucher2009-08-012-11/+27
| | | | | | | | | | | | | | | | It might be better to add an instruction to normalize the coordinates for rectanglular textures as there are some limitations to wrap modes on unnormalized tex coords. fixes texrect
* | r300: Fix corner-case of KIL on R300Nicolai Hähnle2009-08-012-51/+60
| | | | | | | | | | | | | | | | R300 hardware (but _not_ R500) hardware requires an enabled texture unit if KIL is used in fragment programs. We now work around the CS checker correctly when enabling such a fake texture unit. Signed-off-by: Nicolai Hähnle <[email protected]>
* | r300: Fix Z buffer re-emit after window resizeNicolai Hähnle2009-08-012-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to not always correctly re-emit the Z buffer size in all cases, in particular the clear path, and invalidated state was not always picked up correctly. This fixes a bug where the kernel CS checker correctly complains about a Z buffer that is too small. Note that this bug was probably only visible with ridiculously high framerates, i.e. glxgears. Signed-off-by: Nicolai Hähnle <[email protected]>
* | mesa st: Use POT texture for draw pixels operations if NPOT texture is not ↵Patrice Mandin2009-08-011-10/+58
| | | | | | | | supported
* | mesa st: Move logbase2 function to util/u_math.hPatrice Mandin2009-08-012-18/+22
| |
* | radeon: fix r100/r200 compressed texture strideRoland Scheidegger2009-07-312-6/+12
| | | | | | | | | | | | | | | | This almost fixes compressed mipmapped textures on r200, though some small mip levels are still broken. Leave r300 compressed texture stride as is though afaik it's different to pre-radeon-rewrite too. Also do the fixup for rs600 uncompressed row stride at same place.
* | radeon: s/r300/radeon in shared code error messageRoland Scheidegger2009-07-311-1/+1
| |