summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Use insert_before for lists instead of open coding itIan Romanick2011-03-081-4/+1
|
* linker: Add imported functions to the linked IRIan Romanick2011-03-081-1/+7
| | | | | | Fixes piglit test glsl-function-chain16 and bugzilla #34203. NOTE: This is a candidate for stable release branches.
* glsl: Add several function / call related validationsIan Romanick2011-03-081-0/+27
| | | | | | | | The signature list in a function must contain only ir_function_signature nodes. The target of an ir_call must be an ir_function_signature. These were added while trying to debug Mesa bugzilla #34203.
* glsl: Function signatures cannot have NULL return typeIan Romanick2011-03-082-1/+7
| | | | | The return type can be void, and this is the case where a `_ret_val' variable should not be declared.
* r600g: set start instance correctlyChristian König2011-03-081-1/+1
|
* swrast: flip the conditionals in shadow_compare4() for readabilityBrian Paul2011-03-081-24/+24
|
* swrast: add coord clamping, fix comparisons for shadow testingPhilip Taylor2011-03-081-27/+30
| | | | | | | | | This fixes https://bugs.freedesktop.org/show_bug.cgi?id=31159 for swrast and piglit depth-tex-compare. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]>
* r300g: decide whether a flush should be asynchronous when calling itMarek Olšák2011-03-0811-54/+54
| | | | Thread offloading is not sometimes desirable, e.g. when mapping a buffer.
* r300g: use pipelined transfers for RGTC texturesMarek Olšák2011-03-081-1/+2
|
* r300/compiler: fix equal and notequal shadow compare functionsMarek Olšák2011-03-081-18/+16
|
* r300/compiler: detect constants harderMarek Olšák2011-03-081-4/+8
|
* r300/compiler: improve the detection of constants for constant foldingMarek Olšák2011-03-081-0/+7
| | | | Now the expression V==0 generates one instruction instead of two.
* r300/compiler: saturate Z before the shadow comparisonMarek Olšák2011-03-081-37/+44
| | | | | | | This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31159 NOTE: This is a candidate for the 7.9 and 7.10 branches.
* llvmpipe: clamp texcoords in lp_build_sample_compare()Brian Paul2011-03-071-0/+5
| | | | | | See previous commit for more info. NOTE: This is a candidate for the 7.10 branch.
* softpipe: clamp texcoords in sample_compare()Philip Taylor2011-03-071-24/+30
| | | | | | | | | This fixes http://bugs.freedesktop.org/show_bug.cgi?id=31159 for softpipe and fixes the piglit depth-tex-compare test. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]>
* mesa: return after invalidating renderbufferMarek Olšák2011-03-071-0/+1
|
* st/mesa: fail to alloc a renderbuffer if st_choose_renderbuffer_format failsMarek Olšák2011-03-071-1/+5
| | | | | | This fixes: state_tracker/st_format.c:401:st_pipe_format_to_mesa_format: Assertion `0' failed.
* mesa: invalidate framebuffer if internal format of renderbuffer is changedMarek Olšák2011-03-072-6/+31
| | | | RenderTexture doesn't have to be called in invalidate_rb, I guess.
* mesa: initialize DummyBufferObject's mutexBrian Paul2011-03-071-0/+1
| | | | | | The mutex's fields were all zeros. That's OK on Linux, but not Windows. NOTE: This is a candidate for the 7.10 branch.
* st/mesa: fix incorrect version checking codeBrian Paul2011-03-071-2/+3
|
* st/glx: whitespace, 80-column fixesBrian Paul2011-03-071-35/+50
|
* mesa: remove stray _mesa_finish() call in _mesa_CopyPixels()Brian Paul2011-03-071-2/+0
| | | | Leftover debug code from 6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd.
* r600g: Simplify some swizzle lookups.Henri Verbeet2011-03-071-75/+14
|
* r600g: Constant buffers can contain up to 4096 constants.Henri Verbeet2011-03-072-1/+2
|
* i915: Only invert wpos when rendering to the system framebuffer.Henri Verbeet2011-03-071-7/+15
|
* i915: Derive the gl_fragment_program from i915_fragment_program.Henri Verbeet2011-03-071-6/+5
| | | | | | Instead of using the current gl_fragment_program. These aren't necessarily the same, for example when translate_program() is called by i915ValidateFragmentProgram().
* glx: Take GLPROTO_CFLAGS into account.Henri Verbeet2011-03-071-0/+1
|
* intel: check for miptree allocation failureChris Wilson2011-03-071-0/+2
| | | | Signed-off-by: Chris Wilson <[email protected]>
* intel: Add some defense against buffer allocation failure for subimage blitsChris Wilson2011-03-071-11/+11
| | | | Signed-off-by: Chris Wilson <[email protected]>
* intel: Add some defense against bo allocation failureChris Wilson2011-03-071-7/+11
| | | | Signed-off-by: Chris Wilson <[email protected]>
* egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLEBenjamin Franzke2011-03-071-0/+1
| | | | | Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this.
* r600g: use long long integers for instance addr calculationChristian König2011-03-061-1/+1
| | | | | | | Using a long for instance addr calculation isn't big enough on 32bit systems, use a long long int instead. Thanks to Rafael Monica for fixing this.
* glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.Dave Airlie2011-03-065-5/+10
| | | | This realigns the name of the glx bit to align with the core mesa names.
* glx: add initial GLX_EXT_framebuffer_sRGB support.Dave Airlie2011-03-065-0/+16
| | | | | | | | | | this doesn't bind to drivers yet, just enough to in theory make indirect work against other servers. I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX protocol?? Signed-off-by: Dave Airlie <[email protected]>
* pb: Add is_buffer_busy for malloc buffers.José Fonseca2011-03-061-1/+10
|
* st/wgl: No need to initialize OneTimeLock anymore.José Fonseca2011-03-061-6/+0
|
* mapi: _glthread_DECLARE_STATIC_MUTEX is not broken on Windows.José Fonseca2011-03-063-18/+5
|
* trace: Use pipe_static_mutex.José Fonseca2011-03-063-22/+1
|
* os: Fix pipe_static_mutex on Windows.José Fonseca2011-03-061-1/+2
|
* graw-gdi: Silence gcc missing initialization warning.José Fonseca2011-03-061-1/+3
|
* i915g: update TODODaniel Vetter2011-03-061-10/+7
| | | | | | | | | Comments about the deleted stuff: - openaren hang: likely caused by the vertex corruptions, fixed by Jakob. - tiling: Y-tiling works with my hw-clear branch. X-tiling works as merged to master a while ago (execbuf2 version). Signed-off-by: Daniel Vetter <[email protected]>
* r300g/swtcl: advertise draw_instanced and primitive_restartMarek Olšák2011-03-051-2/+5
|
* r300g: implement instanced arraysMarek Olšák2011-03-055-48/+132
|
* gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISORMarek Olšák2011-03-059-9/+19
| | | | | | | | ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced.
* r300g: cleanup parameters of draw functionsMarek Olšák2011-03-053-108/+113
|
* nv50: support the InstanceID system valueChristoph Bumiller2011-03-053-0/+25
|
* r600g: simplify instance addr calculationChristian König2011-03-051-47/+4
| | | | | Use MULHI_UINT instead of the more complex INT_TO_FLT->MUL->TRUNC->FLT_TO_INT
* nvc0: Update SConscript.Vinson Lee2011-03-041-3/+0
|
* nv50: Update SConscript.Vinson Lee2011-03-041-4/+0
|
* r600g: fix fragment shader size calculationChristian König2011-03-051-8/+9
| | | | | bc.ndw is altered in r600_bc_build, respect that in fragment shader size calculation.