History log of /external/mesa3d/src/mesa/program/program.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
998f402af5b37aadc6dc8adcc19f7b6428ada007 23-Jan-2013 Brian Paul <brianp@vmware.com> mesa: use GLbitfield64 when copying program inputs

Note: This is a candidate for the 9.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
(cherry picked from commit ccbb479f4090948ed3765495192332ebc4cf1f4f)
/external/mesa3d/src/mesa/program/program.c
5e310e9f8300a357d6bdaf098c72098518b564f3 20-Jun-2012 Paul Berry <stereotype441@gmail.com> mesa: Add UsesDFdy to struct gl_fragment_program.

The i965 back-end needs to compile dFdy() differently for FBOs and
window system framebuffers, because Y coordinates are flipped between
the two (see commit 82d2596: i965: Compute dFdy() correctly for FBOs).
This boolean will allow it to avoid unnecessarily recompiling shaders
that don't use dFdy().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/program/program.c
e4f8d33aea7e0112dfbf3a38fdc36d11b2e7be10 18-Jul-2012 Brian Paul <brianp@vmware.com> mesa: use gl_program cast wrappers

In a few cases, remove unneeded casts.
And fix a few other const-correctness issues.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/program.c
1ab1b15e9d0da1c5215a20770735b5477f5313df 23-Oct-2011 Chia-I Wu <olv@lunarg.com> mesa, i965: prepare for more than 8 texture targets

3-bit fields are used store texture target in several places. That will fail
when TEXTURE_EXTERNAL_INDEX, which happends to be the 9th texture target, is
added. Make them 4-bit fields.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/program/program.c
7ec2b0d0d6b6a0f760e55ffdee0bdb385a3e900a 01-Nov-2010 Eric Anholt <eric@anholt.net> mesa: Convert fixed function fragment program generator to GLSL IR.

This is a step towards providing a direct route for drivers accepting
GLSL IR for codegen. Perhaps more importantly, it runs the fixed
function fragment program through the GLSL IR optimization. Having
seen how easy it is to make ugly fixed function texenv code that can
do unnecessary work, this may improve real applicatinos.
/external/mesa3d/src/mesa/program/program.c
35613afee3e038b70ada210b2dfbbc9abc883f4f 19-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused gl_program::Attributes

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/program.c
cd76f114e608ffb93a03ac3ffc3e11876d6a057e 16-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove unused field gl_program::Varying

Lots of things set and copy this field around, but nothing uses it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/program.c
4683529048ee133481b2d8f1cae1685aa1736f9a 04-Aug-2011 Bryan Cain <bryancain3@gmail.com> Merge branch 'glsl-to-tgsi'

Conflicts:
src/mesa/state_tracker/st_atom_pixeltransfer.c
src/mesa/state_tracker/st_program.c
6d89abadbcd68bbe9e08f041412549f8dc1fc73c 18-May-2011 Bryan Cain <bryancain3@gmail.com> mesa: support boolean and integer-based parameters in prog_parameter

The functionality is not used by anything yet, and the glUniform functions will
need to be reworked before this can reach its full usefulness. It is
nonetheless a step towards integer support in the state tracker and classic drivers.
/external/mesa3d/src/mesa/program/program.c
1e5fd8e480b661c1ab748c2ded587650ea7f3d20 30-Apr-2011 Bryan Cain <bryancain3@gmail.com> mesa: fix segfault when no Mesa IR is generated
/external/mesa3d/src/mesa/program/program.c
323e4bff799a657632c5777c8be6e306202953af 14-Jul-2011 Dave Airlie <airlied@redhat.com> mesa: split _mesa_reference_program() into hot/cold paths.

inline the hotpath of the reference remaining the same. This shouldn't
penalise the slow path at all but improve the hot path so we don't have
to jump to the function.

It also moves some assert checks under an #ifndef NDEBUG.

Minor clean-ups added by Brian.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/program.c
4d203a01e20dedcfaab09c18922e8ed9dcb39729 16-Apr-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Kill gl_fragment_program::FogOption with fire

All drivers expect this to always be GL_NONE. Don't let there be any
opportunity for a bad value to leak out and infect some unsuspecting
driver. If any driver for hardware that had fixed-function
per-fragment fog (i915 and perhaps some r300-ish) was ever going to
add support, it would have done it by now.

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/program/program.c
874a2c0b7da62f4dd08dedcec221f55b22e40e95 06-Apr-2011 Brian Paul <brianp@vmware.com> mesa: core support for GL_ARB_texture_buffer_object

No GLSL or driver support yet.
/external/mesa3d/src/mesa/program/program.c
11150e4667ce11b056d98244754ce3f2a79599a6 15-Mar-2011 Brian Paul <brianp@vmware.com> mesa: use BITFIELD64_BIT() macro
/external/mesa3d/src/mesa/program/program.c
098f9c5325de16bfb5bf8b0e93e0ec1871db4a76 13-Mar-2011 Eric Anholt <eric@anholt.net> Revert "mesa: Convert fixed function fragment program generator to GLSL IR."

This reverts commit 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5.
There were regressions (Bug #35244) and more review has been requested.
/external/mesa3d/src/mesa/program/program.c
7cb87dffce2c7a37f960f3a865cf92fd193dd8c5 01-Nov-2010 Eric Anholt <eric@anholt.net> mesa: Convert fixed function fragment program generator to GLSL IR.

This is a step towards providing a direct route for drivers accepting
GLSL IR for codegen. Perhaps more importantly, it runs the fixed
function fragment program through the GLSL IR optimization. Having
seen how easy it is to make ugly fixed function texenv code that can
do unnecessary work, this may improve real applicatinos.
/external/mesa3d/src/mesa/program/program.c
8ad821df0a2d49964141f2ea4ef8179f4edc052f 02-Mar-2011 Brian Paul <brianp@vmware.com> mesa: added gl_program_constants::MaxAddressOffset

See https://bugs.freedesktop.org/show_bug.cgi?id=29418
/external/mesa3d/src/mesa/program/program.c
21750a2d9d2a4ed69308316b121fd53b0c873aea 09-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Include mfeatures.h in program.c.

Include mfeatures.h for feature tests.
/external/mesa3d/src/mesa/program/program.c
c628fd743ee3c3305e9beac7f0e6efacf6982115 23-Nov-2010 Brian Paul <brianp@vmware.com> mesa: replace #defines with new gl_shader_type enum
/external/mesa3d/src/mesa/program/program.c
512f840702d58b48607a9dca06dd939256c7afed 23-Nov-2010 Brian Paul <brianp@vmware.com> mesa: _mesa_valid_register_index() to validate register indexes
/external/mesa3d/src/mesa/program/program.c
f72e4b306bb26b067b46f2d7561aabeb6f3f4be0 25-Oct-2010 Brian Paul <brianp@vmware.com> mesa: silence enum comparison warning

http://bugs.freedesktop.org/show_bug.cgi?id=31069
/external/mesa3d/src/mesa/program/program.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/program.c
029c1815717ea62bae28e86798c86dfa98cbc8a7 05-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> mesa: don't smash the stack in _mesa_find_used_registers

At some point this actually triggered, not sure if it still does.

Give a meaningful assert and refuse to smash the stack anyway.
/external/mesa3d/src/mesa/program/program.c
4567b479531d2791ad2d6a598c9dd9e3730b0504 10-Aug-2010 Brian Paul <brianp@vmware.com> mesa: additional program limit assertions
/external/mesa3d/src/mesa/program/program.c
56643096f1eb01eefa1a532ac096b32d23b6b8ba 30-Jul-2010 Brian Paul <brianp@vmware.com> mesa: added gl_program::IndirectRegisterFiles field

Now drivers, etc. can know which register files are accessed with
indirect addressing. Before we just checked gl_program::NumAddressRegs
but didn't know if that was the constant buffer, temp regs, or what.

The only user of this new field so far will be the gallium state tracker.
/external/mesa3d/src/mesa/program/program.c
da7bd6a90e1fee5c16327338fd251c0f6be34e36 28-Jun-2010 Zack Rusin <zackr@vmware.com> mesa: initial support for ARB_geometry_shader4

laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/program/program.c
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/program/program.c