summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2009-01-14i965: fix indentationBrian Paul
2009-01-14intel: bump driver dateXiang, Haihao
2009-01-12i965: fix glDrawPixels Z coordinate in intel_texture_drawpixels().Brian Paul
As for glBitmap, it needs to be an NDC coord in [-1,1].
2009-01-12i965: fix broken glBitmap + depth testBrian Paul
When we use the do_blit_bitmap() function, it seems the fragment Z is always 1.0. If depth testing is on, that means that bitmap fragments are often occluded by other rendering. So, the bitmap doesn't appear even if rasterpos.Z==0. The fix is to use the intel_texture_bitmap() path when depth testing is on. Also, fix the incorrect Z coordinate. It needs to be an NDC value in [-1,1].
2009-01-12i965: fix broken ARB fp fog optionsBrian Paul
Just call _mesa_append_fog_code() if the fragment program's FogOption is not GL_NONE. This allows us to remove some unnecessary i965 fog code. Note, the arbfplight.c demo can be used to test this (see DO_FRAGMENT_FOG).
2009-01-11build fix on big endian OpenBSD architectures.Matthieu Herrb
2009-01-11replace nearbyint() by rint() for now.Matthieu Herrb
2009-01-09swrast: Fix GL_ATI_separate_stencilIan Romanick
GL_ATI_separate_stencil is enabled by default for software rasterizers, but the extension functions weren't hooked up to the dispatch table.
2009-01-07i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.Eric Anholt
2009-01-07i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change.Eric Anholt
Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or BRW_NEW_VERTEX_PROGRAM.
2009-01-07mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt
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 <brianp@vmware.com>
2009-01-07i965: Remove dead brw_vs_tnl.cEric Anholt
2009-01-07i965: allow gl_FragData[0] usage when there's only one color bufferBrian Paul
If gl_FragData[0] is written but not gl_FragCOlor, use the former.
2009-01-07i965: init dst reg RelAddr field to zeroBrian Paul
2009-01-07i965: Note when we drop saturate mode on the floor in a VP.Eric Anholt
2009-01-07i965: Add support for LRP in VPs.Eric Anholt
Bug #19226.
2009-01-06dri: correct the damage.Xiang, Haihao
Fixes bug #17234
2009-01-05i965: implement OPCODE_TRUNC (round toward zero) on vertex path.Brian Paul
Also, fix some RNDD vs. RNDZ confusion elsewhere.
2009-01-01i965: increase number of texture samplers to 16Brian Paul
This lets GLSL shaders use up to 16 samplers. Fixed function is still limited to 8 textures. Tested with progs/glsl/samplers.c
2009-01-01i965: comments, clean-ups, re-order some functionsBrian Paul
2009-01-01i965: added OPCODE_NRM3/4Brian Paul
2009-01-01i965: fix commentBrian Paul
2009-01-01i965: indentation and formatting fixesBrian Paul
2009-01-01i965: implement OPCODE_NRM3/NRM4Brian Paul
2009-01-01i965: whitespace, comment changesBrian Paul
2008-12-31intel: Share passthrough transform setup between glBitmap and glDrawPixels.Eric Anholt
The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
2008-12-31intel: Add support for glBitmap as metaops using GL calls.Eric Anholt
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.
2008-12-30intel: disable ATI_texture_env_combine3 for i830( and related device).Xiang, Haihao
Thanks to Eric for pointing it out.
2008-12-29dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.Eric Anholt
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.
2008-12-29R300: missing semicolonAlex Deucher
2008-12-29intel: enable ATI_texture_env_combine3. Fixes #17707Xiang, Haihao
2008-12-28r300: remove the unknowns from the indx_buffer codeDave Airlie
2008-12-24i915: separate the fog term from the specular color term.Xiang, Haihao
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.
2008-12-23intel: Fix glBitmap clipping for DRI1.Eric Anholt
2008-12-23Remove third buffer support from Mesa.Dave Airlie
This is part of the deprecated pageflipping infrastructure.
2008-12-19965 / GLSL: Use full precision for EXP instructionIan Romanick
The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
2008-12-19intel: Fix glBitmap top/bottom clipping.Eric Anholt
Bug #19139.
2008-12-19intel: Don't forget the source bitmap size when clipping the size we draw.Eric Anholt
2008-12-19intel: Update mesa state in blit operations that want post-scissor draw bounds.Eric Anholt
2008-12-19intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.Eric Anholt
2008-12-18intel: Move copyteximage source clipping out of copytexsubimage.Eric Anholt
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.
2008-12-18i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao
2008-12-18i915: fix abort issue. (bug #19147)Xiang, Haihao
2008-12-15intel: stub out CompressedTexSubImage2D instead of segfaulting.Eric Anholt
2008-12-15i965: Update state before checking for fallbacks in brw_try_draw_prims.Eric Anholt
This got flipped around in 7855b2aef6bd9e9c2d73260b5cd166159b2525c6. Bug #18907. Thanks to idr for pointing me at a nicer testcase than blender.
2008-12-14intel: Don't steal renderbuffer from caller in intel_miptree_create_for_regionPierre Willenbrock
Fixes double-frees of some regions, once from the renderbuffer code and once from the miptree itself. Bug #19062
2008-12-14i965: Add decode of index/vertex buffer and primitive emit.Eric Anholt
2008-12-14intel: Add batchbuffer assertions to hopefully catch future mistakes.Eric Anholt
2008-12-14Add more package metadata to the pkg-config filesDan Nicholson
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.
2008-12-13i965: Finish OPCODE_NOISEn instructions.Gary Wong
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).