aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.Eric Anholt2009-01-091-1/+1
|
* i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change.Eric Anholt2009-01-091-4/+0
| | | | | Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or BRW_NEW_VERTEX_PROGRAM.
* mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt2009-01-093-25/+3
| | | | | | | | There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <[email protected]>
* i965: Remove dead brw_vs_tnl.cEric Anholt2009-01-093-61/+0
|
* i965: allow gl_FragData[0] usage when there's only one color bufferBrian Paul2009-01-091-2/+9
| | | | If gl_FragData[0] is written but not gl_FragCOlor, use the former.
* i965: init dst reg RelAddr field to zeroBrian Paul2009-01-091-1/+2
|
* i965: Note when we drop saturate mode on the floor in a VP.Eric Anholt2009-01-091-0/+5
|
* i965: Add support for LRP in VPs.Eric Anholt2009-01-091-0/+42
| | | | Bug #19226.
* Merge commit 'origin/master' into gallium-0.2Brian Paul2009-01-065-2/+26
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
| * dri: correct the damage.Xiang, Haihao2009-01-061-2/+17
| | | | | | | | Fixes bug #17234
| * i965: implement OPCODE_TRUNC (round toward zero) on vertex path.Brian Paul2009-01-054-1/+7
| | | | | | | | Also, fix some RNDD vs. RNDZ confusion elsewhere.
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2009-01-0211-135/+523
|\| | | | | | | | | | | | | Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c
| * i965: increase number of texture samplers to 16Brian Paul2009-01-012-3/+5
| | | | | | | | | | | | This lets GLSL shaders use up to 16 samplers. Fixed function is still limited to 8 textures. Tested with progs/glsl/samplers.c
| * i965: comments, clean-ups, re-order some functionsBrian Paul2009-01-011-34/+54
| |
| * i965: added OPCODE_NRM3/4Brian Paul2009-01-011-0/+3
| |
| * i965: fix commentBrian Paul2009-01-011-1/+1
| |
| * i965: indentation and formatting fixesBrian Paul2009-01-011-45/+36
| |
| * i965: implement OPCODE_NRM3/NRM4Brian Paul2009-01-011-3/+33
| |
| * i965: whitespace, comment changesBrian Paul2009-01-011-26/+11
| |
| * intel: Share passthrough transform setup between glBitmap and glDrawPixels.Eric Anholt2008-12-315-45/+52
| | | | | | | | | | | | | | The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
| * intel: Add support for glBitmap as metaops using GL calls.Eric Anholt2008-12-314-0/+350
| | | | | | | | | | | | | | | | | | | | This lets us avoid software fallbacks when clients forget to turn some state off (engine demo) or just do crazy things to test conformance (OGLC). This should probably be brought into mesa generic code so other drivers can make use of it. Bug #19016.
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-3012-70/+25
|\| | | | | | | | | | | Conflicts: src/mesa/main/config.h
| * intel: disable ATI_texture_env_combine3 for i830( and related device).Xiang, Haihao2008-12-302-1/+2
| | | | | | | | Thanks to Eric for pointing it out.
| * dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.Eric Anholt2008-12-291-9/+9
| | | | | | | | | | | | | | | | | | | | We'd come up with a negative remainder, while we were looking for the positive version of it in the loop conditional. And, since the "did we hit our target" break was disabled for the target_msc == 0 ("Just make the divisor/remainder work") path, we'd never exit. Simplify the code by just using int64_t all over instead of trying to do it in a u32 space.
| * R300: missing semicolonAlex Deucher2008-12-291-1/+1
| |
| * intel: enable ATI_texture_env_combine3. Fixes #17707Xiang, Haihao2008-12-291-0/+1
| |
| * r300: remove the unknowns from the indx_buffer codeDave Airlie2008-12-282-5/+6
| |
| * i915: separate the fog term from the specular color term.Xiang, Haihao2008-12-241-19/+3
| | | | | | | | | | | | | | | | Previously fog parameter and specular color are packed into the same dword. Note specular color should be packed in BGRA for device, so if fog parameter and specular color all are present, fog parameter will dirty the alpha term of specular color. This fixes rendering issue when playing 'Yo Frankie' on 915/945.
| * intel: Fix glBitmap clipping for DRI1.Eric Anholt2008-12-231-2/+2
| |
| * Remove third buffer support from Mesa.Dave Airlie2008-12-236-35/+3
| | | | | | | | This is part of the deprecated pageflipping infrastructure.
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-194-92/+109
|\|
| * 965 / GLSL: Use full precision for EXP instructionIan Romanick2008-12-191-1/+1
| | | | | | | | | | The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
| * intel: Fix glBitmap top/bottom clipping.Eric Anholt2008-12-191-40/+35
| | | | | | | | Bug #19139.
| * intel: Don't forget the source bitmap size when clipping the size we draw.Eric Anholt2008-12-191-1/+3
| |
| * intel: Update mesa state in blit operations that want post-scissor draw bounds.Eric Anholt2008-12-192-0/+7
| |
| * intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.Eric Anholt2008-12-191-2/+2
| |
| * intel: Move copyteximage source clipping out of copytexsubimage.Eric Anholt2008-12-181-48/+61
| | | | | | | | | | | | glCopyTexSubImage already gets the (correct) clipping for us, so it doesn't need the path. While moving the clipping out, replace the code with the mesa path to do the same job.
| * i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao2008-12-181-1/+1
| |
| * i915: fix abort issue. (bug #19147)Xiang, Haihao2008-12-182-4/+24
| |
* | i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao2008-12-181-1/+1
| |
* | i915: fix abort issue. (bug #19147)Xiang, Haihao2008-12-182-4/+24
| |
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-164-2/+28
|\|
| * intel: stub out CompressedTexSubImage2D instead of segfaulting.Eric Anholt2008-12-153-0/+26
| |
| * i965: Update state before checking for fallbacks in brw_try_draw_prims.Eric Anholt2008-12-151-2/+2
| | | | | | | | | | | | This got flipped around in 7855b2aef6bd9e9c2d73260b5cd166159b2525c6. Bug #18907. Thanks to idr for pointing me at a nicer testcase than blender.
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-12-156-22/+603
|\|
| * intel: Don't steal renderbuffer from caller in intel_miptree_create_for_regionPierre Willenbrock2008-12-141-1/+1
| | | | | | | | | | | | | | Fixes double-frees of some regions, once from the renderbuffer code and once from the miptree itself. Bug #19062
| * i965: Add decode of index/vertex buffer and primitive emit.Eric Anholt2008-12-141-4/+142
| |
| * intel: Add batchbuffer assertions to hopefully catch future mistakes.Eric Anholt2008-12-141-2/+20
| |
| * Add more package metadata to the pkg-config filesDan Nicholson2008-12-142-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The pkg-config files have been filled in more thoroughly to allow users to use mesa more effectively. By adding metadata to Requires.private, Libs.private and Cflags, we can ensure that all the libraries and headers will be found in all situations. However, the full substitutions are only done when using the configure script. This also fixes the glu pkg-config file to account for using GL or OSMesa. Fixes bug 18161.
| * i965: Finish OPCODE_NOISEn instructions.Gary Wong2008-12-131-14/+437
| | | | | | | | | | | | Added missing OPCODE_NOISE4, and use BRW_REGISTER_TYPE_D (instead of _UD) in the initial RNDD instructions (which avoids saturating negative inputs to 0).