summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: implement clamping controls (ARB_color_buffer_float)Marek Olšák2011-03-2923-70/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: Author: Marek Olšák <[email protected]> mesa: fix getteximage so that it doesn't clamp values mesa: update the compute_version function mesa: add display list support for ARB_color_buffer_float mesa: fix glGet query with GL_ALPHA_TEST_REF and ARB_color_buffer_float commit b2f6ddf907935b2594d2831ddab38cf57a1729ce Author: Luca Barbieri <[email protected]> Date: Tue Aug 31 16:50:57 2010 +0200 mesa: document known possible deviations from ARB_color_buffer_float commit 5458935be800c1b19d1c9d1569dc4fa30a97e8b8 Author: Luca Barbieri <[email protected]> Date: Tue Aug 24 21:54:56 2010 +0200 mesa: expose GL_ARB_color_buffer_float commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly (I'll squash the st/mesa part to a separate commit. -Marek) We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. TODO: did I get the set of operations mandating it right? commit 3a9cb5e59b676b6148c50907ce6eef5441677e36 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:09:41 2010 +0200 mesa: respect color clamping in texenv programs (v2) Changes in v2: - Fix attributes other than vertex color sometimes getting clamped commit de26f9e47e886e176aab6e5a2c3d4481efb64362 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:05:53 2010 +0200 mesa: restore color clamps on glPopAttrib commit a55ac3c300c189616627c05d924c40a8b55bfafa Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:04:26 2010 +0200 mesa: clamp color queries if and only if fragment clamping is enabled commit 9940a3e31c2fb76cc3d28b15ea78dde369825107 Author: Luca Barbieri <[email protected]> Date: Wed Aug 25 00:00:16 2010 +0200 mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY To do this, we make ClampColor call FLUSH_VERTICES with the appropriate _NEW flag. We introduce _NEW_FRAG_CLAMP since fragment clamping has wide-ranging effects, despite being in the Color attrib group. This may be easily changed by s/_NEW_FRAG_CLAMP/_NEW_COLOR/g commit 6244c446e3beed5473b4e811d10787e4019f59d6 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 17:58:24 2010 +0200 mesa: add unclamped color parameters
* mesa: regenerate glapi filesMarek Olšák2011-03-293-4474/+4505
|
* i965: Resolve implied moves in brw_dp_READ_4_vs_relative.Kenneth Graunke2011-03-291-1/+3
| | | | | | | | | Fixes piglit test glsl-vs-arrays-3 on Sandybridge, as well as garbage rendering in 3DMarkMobileES 2.0's Taiji demo and GLBenchmark 2.0's Egypt and PRO demos. NOTE: This a candidate for stable release branches. It depends on commit 9a21bc640188e4078075b9f8e6701853a4f0bbe4.
* i965: Refactor Sandybridge implied move handling.Kenneth Graunke2011-03-291-36/+32
| | | | | | | | | This was open-coded in three different places, and more are necessary. Extract this into a function so it can be reused. Unfortunately, not all variations were the same: in particular, one set compression control and checked that the source register was not ARF_NULL. This seemed like a good idea, so all cases now do so.
* mesa: Add missing parentheses in glBlitFramebufferEXT error strings.Vinson Lee2011-03-281-5/+5
|
* intel: Don't leak the tex object miptree when replacing itIan Romanick2011-03-281-1/+3
| | | | | | | | | | | Eventually the miptree refcounting interface should be cleaned up. The assymmetry dramatically increases the probability of bugs like this. It should be made to like like libdrm refcounting or the refcounting style used in other parts of Mesa. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=33046 Reviewed-by: Eric Anholt <[email protected]>
* st/mesa: Validate state before doing blits.Henri Verbeet2011-03-271-0/+3
| | | | | | | Specifically, this ensures things like the front buffer actually exist. This fixes piglt fbo/fbo-sys-blit and fd.o bug 35483. Signed-off-by: Henri Verbeet <[email protected]>
* i965/fs: Fix linear gl_Color interpolation on pre-gen6 hardware.Kenneth Graunke2011-03-261-3/+5
| | | | | | | | | | | | | Civilization 4's shaders make heavy use of gl_Color and don't use perspective interpolation. This resulted in rivers, units, trees, and so on being rendered almost entirely white. This is a regression compared to the old fragment shader backend. Found by inspection (comparing the old and new FS backend code). References: https://bugs.freedesktop.org/show_bug.cgi?id=32949 NOTE: This is a candidate for the 7.10 branch.
* i965/fs: Use different name for inner loop counterIan Romanick2011-03-251-2/+2
| | | | | | 'i' is already used for the outer loop. This caused some problems while doing other work in this area. No bug exists here... until you want to use the outer loop counter in the inner loop.
* mesa: add void to save_TextureBarrierNV()Brian Paul2011-03-251-1/+1
|
* mesa: Avoid redefining PUBLIC/USE/likely/unlikely macros.José Fonseca2011-03-251-13/+17
|
* mesa: Use appropriate call convention in VertexAttribI*v.José Fonseca2011-03-251-136/+136
| | | | | | | | | We were using typecasts because the functions pointers are polymorphic in the second argument type, which. Surprisingly the wrong calling convention didn't cause crashes on Windows, but it was causing certain registers to be trashed in MSVC optimized builds, when processing callists in the ClearView RC Flight Simulator.
* mesa,mapi: Remove spurious const keyword from ClearBufferfi args.José Fonseca2011-03-251-1/+1
|
* mesa: added _mesa_dump_image() for debuggingBrian Paul2011-03-242-0/+28
|
* mesa: minor whitespace fixesBrian Paul2011-03-244-7/+7
|
* i965/fs: Make compile failure more verbose with INTEL_DEBUG=wm.Eric Anholt2011-03-243-18/+36
|
* i965/fs: Clean up reg_undef args from long ago lack of fs_inst overloads.Eric Anholt2011-03-241-2/+2
|
* i965/fs: Clean up the emit calls by introducing emit() overload helpers.Eric Anholt2011-03-242-223/+203
| | | | | | I think the code ends up a lot more legible this way, though we've still got the overloads in the fs_inst as well (even though there's only one caller left currently).
* mesa: new MESA_EXTENSION_MAX_YEAR env varBrian Paul2011-03-241-3/+17
| | | | | | | If set to year X, only report extensions up to that year. This is a work-around for games that try to copy the extensions string to a fixed size buffer and overflow. If a game was released in year X, setting MESA_EXTENSION_MAX_YEAR to that year will likely fix the problem.
* radeon: use C99 style in macros with variable argumentsIain Hibbert2011-03-241-8/+8
| | | | Signed-off-by: Iain Hibbert <[email protected]>
* radeon: reorder #includes to silence warningsBrian Paul2011-03-241-4/+4
| | | | | Silences warnings about RADEON_TILING_SURFACE being redefined. Only compile tested, not run tested.
* r128: fix an old annoying warningBrian Paul2011-03-241-2/+2
|
* radeon: fix radeon_create_image_from_name() wrong parameter typeBrian Paul2011-03-241-3/+3
|
* mesa: More glGet* fixes.José Fonseca2011-03-231-4/+4
| | | | | | glGet(GL_NORMAL_ARRAY) giving potentially wrong results. Most of glGet(GL_XXX_ARRAY_BUFFER_BINDING) giving totally bogus results.
* mesa: remove unused _MESA_NEW_NEED_NORMALSBrian Paul2011-03-231-3/+0
|
* mesa: remove _MESA_NEW_TRANSFER_STATEBrian Paul2011-03-234-10/+6
|
* mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*).José Fonseca2011-03-221-3/+3
|
* mesa: 80-column wrapping and comment updatesBrian Paul2011-03-191-19/+20
|
* mesa: 80-column wrapping, update commentBrian Paul2011-03-191-7/+12
|
* mesa: consolidate enable/disable code for GL_TEXTURE_GEN_S/T/R/QBrian Paul2011-03-191-67/+9
|
* mesa: consolidate clip plane update codeBrian Paul2011-03-193-25/+21
|
* mesa: 80-column wrappingBrian Paul2011-03-191-2/+2
|
* mesa: replace macro with functionBrian Paul2011-03-191-8/+13
|
* mesa: 80-column wrappingBrian Paul2011-03-191-1/+2
|
* mesa: rename functions to follow Mesa conventionsBrian Paul2011-03-191-35/+29
|
* mesa: 80-column wrappingBrian Paul2011-03-191-2/+4
|
* r300/compiler: Use a 4-bit writemask in pair instructionsTom Stellard2011-03-183-3/+4
| | | | | | | We now use a 4-bit writemask for all instruction types, which makes it easier to write generic helper functions to manipulte writemasks. NOTE: This is a candidate for the 7.10 branch.
* nouveau: Fix serious compiler warningsJohannes Obermayr2011-03-181-0/+1
| | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35025 Signed-off-by: Brian Paul <[email protected]>
* mesa: minor improvements in glTexEnvfv()Brian Paul2011-03-171-16/+17
|
* mesa: only report up to 50 _mesa_problem() callsBrian Paul2011-03-171-5/+11
| | | | | | http://bugs.freedesktop.org/show_bug.cgi?id=35200 reports a disk partition getting filled because of warning messages. Stop emitting after 50.
* swrast: report data type in error messageBrian Paul2011-03-171-1/+2
|
* mesa: Remove the CompileShader driver hook; it's just a no-op.Kenneth Graunke2011-03-176-42/+0
|
* mesa: use _mesa_get_current_tex_unit() helper in BindTexture()Brian Paul2011-03-161-2/+2
|
* mesa: remove unneeded local var in BindTexture()Brian Paul2011-03-161-3/+3
|
* mesa: clean up the glBindTexture early out code a bitBrian Paul2011-03-161-10/+12
|
* i965: Rename brw_(IF|CONT)_gen6 functions to gen6_(IF|CONT).Kenneth Graunke2011-03-164-11/+11
|
* autoconf: don't use CFLAGS for cpp filesTobias Droste2011-03-161-1/+1
| | | | Signed-off-by: Tobias Droste <[email protected]>
* i965: Rename BRW_DATAPORT_..._GEN6 messages to GEN6_... for consistency.Kenneth Graunke2011-03-162-9/+9
|
* i965: Rename BRW_SAMPLER_MESSAGE_..._GEN5 to GEN5_SAMPLER_MESSAGE.Kenneth Graunke2011-03-163-17/+17
| | | | We already have lots of GEN6_* defines; this seems more consistent.
* mesa: Sort extensions in extension string by year.José Fonseca2011-03-161-216/+278
| | | | | The years were obtained automatically by scraping the first year from the spec text file. They are approximate.