707f0679157f83ac45127e41647b96ed924d45c9 |
|
11-Aug-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Kill GL_ARB_shadow_ambient with fire No driver supports this extension, and it seems unlikely than any driver ever will. I think r300c may have supported it at one time, but that driver has already been removed. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
ae58f9696c5f82c98767b3f244b2ad4b966905e5 |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa/program: Use sampler object state if present CompareFailValue is part of Sampler state that needs to be read from bound sampler object if present. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
66d9ac5ac7896538d38f57950888a0184c933925 |
|
25-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove _math_matrix_alloc_inv() Always allocate space for the inverse matrix in _math_matrix_ctr() since we were always calling _math_matrix_alloc_inv() anyway. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
284ad9c3b29a6d6f0bade050ea9e949d67967983 |
|
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Make more consistent use of _mesa_is_{user,winsys}_fbo() A lot of code was still differentiating between between winsys and user fbos by testing the fbo's name against zero. This converts everything in core mesa, the state tracker, and src/mesa/program over to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
177845daa150403311e51e3bdc27e5014d40e915 |
|
27-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: kill off point size clamping in vertex shaders This fixes the gl_PointSize transform feedback test. Point size clamping should happen at the rasterizer stage, i.e. after the vertex and geometry shaders and transform feedback. Drivers are expected to do this by themselves.
/external/mesa3d/src/mesa/program/prog_statevars.c
|
57169c469406f1880107a6b9f052708ce078942d |
|
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add _NEW_CURRENT_ATTRIB in _mesa_program_state_flags() If color material mode is enabled, constant buffer entries related to the material coefficients will depend on glColor. So add _NEW_CURRENT_ATTRIB to the bitset returned for material-related constants in _mesa_program_state_flags(). This fixes a bug exercised by the new piglit draw-arrays-colormaterial test. Note: This is a candidate for the 7.11 branch.
/external/mesa3d/src/mesa/program/prog_statevars.c
|
bf8d06c518a8e17e485b18ba03be3e1b45cc7327 |
|
05-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: pass correct constant type to _mesa_fetch_state() Fixes assorted warnings about float vs. gl_constant_value pointers.
/external/mesa3d/src/mesa/program/prog_statevars.c
|
ebc0b2dca0eb6510189d433851bd475475e69aa6 |
|
06-May-2011 |
Matt Turner <mattst88@gmail.com> |
mesa: replace ONE_DIV_LN2 constant with M_LOG2E 1/ln(2) is equivalent to log2(e), so define it as such. log2(e) = ln(e)/ln(2) = 1/ln(2) Worst of all, the definitions for M_LOG2E and ONE_DIV_LN2 (right beside each other!) weren't the same. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
f986a6560f3ee9a79b89e9409e3a9ac52b53315c |
|
03-May-2011 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
mesa,st/mesa: fix WPOS adjustment Tested-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
ecfaab88b2577bd0395bc05d75a036126806a9c4 |
|
10-Apr-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move sampler state into new gl_sampler_object type gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/program/prog_statevars.c
|
e5c6a92a12b5cd7db205d72039f58d302b0be9d5 |
|
15-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement clamping controls (ARB_color_buffer_float) Squashed commit of the following: Author: Marek Olšák <maraeo@gmail.com> 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 <luca@luca-barbieri.com> Date: Tue Aug 31 16:50:57 2010 +0200 mesa: document known possible deviations from ARB_color_buffer_float commit 5458935be800c1b19d1c9d1569dc4fa30a97e8b8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:54:56 2010 +0200 mesa: expose GL_ARB_color_buffer_float commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri <luca@luca-barbieri.com> 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 <luca@luca-barbieri.com> 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 <luca@luca-barbieri.com> Date: Thu Aug 26 18:05:53 2010 +0200 mesa: restore color clamps on glPopAttrib commit a55ac3c300c189616627c05d924c40a8b55bfafa Author: Luca Barbieri <luca@luca-barbieri.com> 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 <luca@luca-barbieri.com> 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 <luca@luca-barbieri.com> Date: Thu Aug 26 17:58:24 2010 +0200 mesa: add unclamped color parameters
/external/mesa3d/src/mesa/program/prog_statevars.c
|
64244dfd39b6e63a62a91ea2fb2743bd88a22476 |
|
04-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: update comments, remove dead code
/external/mesa3d/src/mesa/program/prog_statevars.c
|
6f851e6642a640deda34790c14d178acac1c552e |
|
04-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded cast
/external/mesa3d/src/mesa/program/prog_statevars.c
|
d531f9c2f5c78468d913fc509b223760ac1c1124 |
|
02-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium gl_FragCoord.y needs to be flipped upside down if a FBO is bound. This fixes: - piglit/fbo-fragcoord - https://bugs.freedesktop.org/show_bug.cgi?id=29420 Here I add a new program state STATE_FB_WPOS_Y_TRANSFORM, which is set based on whether a FBO is bound. The state contains a pair of transformations. It can be either (XY=identity, ZW=transformY) if a FBO is bound, or (XY=transformY, ZW=identity) otherwise, where identity = (1, 0), transformY = (-1, height-1). A classic driver (or st/mesa) may, based on some other state, choose whether to use XY or ZW, thus negate the conditional "if (is a FBO bound) ...". The reason for this is that a Gallium driver is allowed to only support WPOS relative to either the lower left or the upper left corner, so we must flip the Y axis accordingly again. (the "invert" parameter in emit_wpos_inversion) NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_statevars.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/program/prog_statevars.c
|
73578ba9c4938db3a23198c3a2ddf843cfc4f700 |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove SGI_color_matrix. Another optional ARB_imaging subset extension.
/external/mesa3d/src/mesa/program/prog_statevars.c
|
4a867be14378587574b3082071e9fff962d28d12 |
|
08-Sep-2010 |
Eric Anholt <eric@anholt.net> |
ir_to_mesa: Add support for gl_NormalScale. Bug #30040.
/external/mesa3d/src/mesa/program/prog_statevars.c
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/program/prog_statevars.c
|