Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Use insert_before for lists instead of open coding it | Ian Romanick | 2011-03-08 | 1 | -4/+1 |
| | |||||
* | linker: Add imported functions to the linked IR | Ian Romanick | 2011-03-08 | 1 | -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 validations | Ian Romanick | 2011-03-08 | 1 | -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 type | Ian Romanick | 2011-03-08 | 2 | -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 correctly | Christian König | 2011-03-08 | 1 | -1/+1 |
| | |||||
* | swrast: flip the conditionals in shadow_compare4() for readability | Brian Paul | 2011-03-08 | 1 | -24/+24 |
| | |||||
* | swrast: add coord clamping, fix comparisons for shadow testing | Philip Taylor | 2011-03-08 | 1 | -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 it | Marek Olšák | 2011-03-08 | 11 | -54/+54 |
| | | | | Thread offloading is not sometimes desirable, e.g. when mapping a buffer. | ||||
* | r300g: use pipelined transfers for RGTC textures | Marek Olšák | 2011-03-08 | 1 | -1/+2 |
| | |||||
* | r300/compiler: fix equal and notequal shadow compare functions | Marek Olšák | 2011-03-08 | 1 | -18/+16 |
| | |||||
* | r300/compiler: detect constants harder | Marek Olšák | 2011-03-08 | 1 | -4/+8 |
| | |||||
* | r300/compiler: improve the detection of constants for constant folding | Marek Olšák | 2011-03-08 | 1 | -0/+7 |
| | | | | Now the expression V==0 generates one instruction instead of two. | ||||
* | r300/compiler: saturate Z before the shadow comparison | Marek Olšák | 2011-03-08 | 1 | -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 Paul | 2011-03-07 | 1 | -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 Taylor | 2011-03-07 | 1 | -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 renderbuffer | Marek Olšák | 2011-03-07 | 1 | -0/+1 |
| | |||||
* | st/mesa: fail to alloc a renderbuffer if st_choose_renderbuffer_format fails | Marek Olšák | 2011-03-07 | 1 | -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 changed | Marek Olšák | 2011-03-07 | 2 | -6/+31 |
| | | | | RenderTexture doesn't have to be called in invalidate_rb, I guess. | ||||
* | mesa: initialize DummyBufferObject's mutex | Brian Paul | 2011-03-07 | 1 | -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 code | Brian Paul | 2011-03-07 | 1 | -2/+3 |
| | |||||
* | st/glx: whitespace, 80-column fixes | Brian Paul | 2011-03-07 | 1 | -35/+50 |
| | |||||
* | mesa: remove stray _mesa_finish() call in _mesa_CopyPixels() | Brian Paul | 2011-03-07 | 1 | -2/+0 |
| | | | | Leftover debug code from 6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd. | ||||
* | r600g: Simplify some swizzle lookups. | Henri Verbeet | 2011-03-07 | 1 | -75/+14 |
| | |||||
* | r600g: Constant buffers can contain up to 4096 constants. | Henri Verbeet | 2011-03-07 | 2 | -1/+2 |
| | |||||
* | i915: Only invert wpos when rendering to the system framebuffer. | Henri Verbeet | 2011-03-07 | 1 | -7/+15 |
| | |||||
* | i915: Derive the gl_fragment_program from i915_fragment_program. | Henri Verbeet | 2011-03-07 | 1 | -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 Verbeet | 2011-03-07 | 1 | -0/+1 |
| | |||||
* | intel: check for miptree allocation failure | Chris Wilson | 2011-03-07 | 1 | -0/+2 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | intel: Add some defense against buffer allocation failure for subimage blits | Chris Wilson | 2011-03-07 | 1 | -11/+11 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | intel: Add some defense against bo allocation failure | Chris Wilson | 2011-03-07 | 1 | -7/+11 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE | Benjamin Franzke | 2011-03-07 | 1 | -0/+1 |
| | | | | | Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this. | ||||
* | r600g: use long long integers for instance addr calculation | Christian König | 2011-03-06 | 1 | -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 Airlie | 2011-03-06 | 5 | -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 Airlie | 2011-03-06 | 5 | -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é Fonseca | 2011-03-06 | 1 | -1/+10 |
| | |||||
* | st/wgl: No need to initialize OneTimeLock anymore. | José Fonseca | 2011-03-06 | 1 | -6/+0 |
| | |||||
* | mapi: _glthread_DECLARE_STATIC_MUTEX is not broken on Windows. | José Fonseca | 2011-03-06 | 3 | -18/+5 |
| | |||||
* | trace: Use pipe_static_mutex. | José Fonseca | 2011-03-06 | 3 | -22/+1 |
| | |||||
* | os: Fix pipe_static_mutex on Windows. | José Fonseca | 2011-03-06 | 1 | -1/+2 |
| | |||||
* | graw-gdi: Silence gcc missing initialization warning. | José Fonseca | 2011-03-06 | 1 | -1/+3 |
| | |||||
* | i915g: update TODO | Daniel Vetter | 2011-03-06 | 1 | -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_restart | Marek Olšák | 2011-03-05 | 1 | -2/+5 |
| | |||||
* | r300g: implement instanced arrays | Marek Olšák | 2011-03-05 | 5 | -48/+132 |
| | |||||
* | gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR | Marek Olšák | 2011-03-05 | 9 | -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 functions | Marek Olšák | 2011-03-05 | 3 | -108/+113 |
| | |||||
* | nv50: support the InstanceID system value | Christoph Bumiller | 2011-03-05 | 3 | -0/+25 |
| | |||||
* | r600g: simplify instance addr calculation | Christian König | 2011-03-05 | 1 | -47/+4 |
| | | | | | Use MULHI_UINT instead of the more complex INT_TO_FLT->MUL->TRUNC->FLT_TO_INT | ||||
* | nvc0: Update SConscript. | Vinson Lee | 2011-03-04 | 1 | -3/+0 |
| | |||||
* | nv50: Update SConscript. | Vinson Lee | 2011-03-04 | 1 | -4/+0 |
| | |||||
* | r600g: fix fragment shader size calculation | Christian König | 2011-03-05 | 1 | -8/+9 |
| | | | | | bc.ndw is altered in r600_bc_build, respect that in fragment shader size calculation. |