History log of /external/mesa3d/src/mesa/program/prog_parameter.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ce9c042ab3d1c86837285c4e4d6de07646c1952f 18-Mar-2016 Timothy Arceri <timothy.arceri@collabora.com> mesa: inline _mesa_add_unnamed_constant()

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
fa9bd6b663a1c78d5a17e3ad5407ff5530fbb0c9 18-Mar-2016 Timothy Arceri <timothy.arceri@collabora.com> mesa: simplify and inline _mesa_lookup_parameter_index()

The function has only one user and strings are always null terminated.

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
350b1ef027167af12156df92f449f370a0f8d396 18-Mar-2016 Timothy Arceri <timothy.arceri@collabora.com> mesa: make _mesa_lookup_parameter_constant static

This is not used outside of prog_parameter.c

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
7794b22a84166193c59f86dc33bde95c180edee8 18-Mar-2016 Timothy Arceri <timothy.arceri@collabora.com> mesa: remove unused function

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
815929bd157503b149d429bc494d1dad92c902e6 04-Feb-2016 Timothy Arceri <timothy.arceri@collabora.com> mesa: remove dead program parameter functions

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
294ed5cd13e878ec43126a2070343d6d99ef5669 06-Dec-2015 Marek Olšák <marek.olsak@amd.com> program: add _mesa_reserve_parameter_storage

The next commit will use this.

Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: 11.0 11.1 <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/program/prog_parameter.h
76c2d4498ddfcf127eecd2045d188a59b47b731b 11-Apr-2015 Marek Olšák <marek.olsak@amd.com> mesa/program: remove dead code

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
3998cfa933dcd9134b75d9f0ae2c9cfcd6f2ee45 05-Jun-2013 Rico Schüller <kgbricola@web.de> mesa: remove outdated version lines in comments

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
3d8d5b298a268b119d840bc9bae0ee9e0c9244a9 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Restore 78-column wrapping of license text in C-style comments.

The previous commit introduced extra words, breaking the formatting.

This text transformation was done automatically via the following shell
command:
$ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript

where 'vimscript' is a file containing:
/THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * '
:wq

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
96ff2edc73ccf11d4d198ba3665507f73ae4a9f7 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.

This brings the license text in line with the MIT License as published
on the Open Source Initiative website:

http://opensource.org/licenses/mit-license.php

Generated automatically be the following shell command:
$ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {}

This introduces some wrapping issues, to be fixed in the next commit.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
dd404bc94f78a1766527becee03f8ef6ae3a799b 21-Apr-2013 Kenneth Graunke <kenneth@whitecape.org> mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.

Generated automatically be the following shell command:
$ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
sed -i 's/BRIAN PAUL/THE AUTHORS/' {}

The intention here is to protect all authors, not just Brian Paul. I
believe that was already the sensible interpretation, but spelling it
out is probably better.

More practically, it also prevents people from accidentally copy &
pasting the license into a new file which says Brian is not liable when
he isn't even one of the authors.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_parameter.h
01d2bd34f47fc79579808f20b21ad46d43fe8fc2 11-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove dead _mesa_num_parameters_of_type() function.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
1366db2ef605e063f949acb31b63bd603ea6e6b4 11-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove dead _mesa_add_attribute() function.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
eda4a4ae81481c4b0a300ad91e607a18a8d81cb3 11-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove dead _mesa_add_varying() function.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
f7cfe3fc708ce7d90699ec3144691371740d62e6 11-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove dead program_parameter::Flags field.

All flags are now gone, so we can stop storing and passing this around.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
5bb6f15f79a58e145817edf4894d53402ebdd5ba 15-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> st/mesa: Remove the PROG_PARAM_BIT_CYL_WRAP flag. [v2]

Nobody ever set the flag, which makes this dead code.

v2: Leave the ureg_DECL_fs_input_cyl function in place, even though it's
unused, since VMWare uses it for their internal projects.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
4b13252bba7e0f6f70adf7036874988b810a67a3 11-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove GLSL-related PROG_PARAM_BIT flags.

GLSL doesn't use the program code anymore. Accordingly, there were no
consumers of these flags, so there's no need to define them.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
8d418d16165624a59b2049d4097b4ab0dc82ffa9 15-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove support for named parameters.

These were only part of NV_fragment_program, so we can kill them.

The fact that PROGRAM_NAMED_PARAM appears in r200_vertprog.c is rather
comedic, but also demonstrates that people just spam the various types
of parameters everywhere because they're confusing.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/program/prog_parameter.h
63e7a4c6e5bf51d8090046ebc5adcb4207448565 09-Nov-2011 José Fonseca <jfonseca@vmware.com> mesa,glsl,mapi: Put extern "C" { ... } where appropriate.

Probably a several places missing, but enough to cover all headers
(in)directly included by uniform_query.cpp, and fix the MSVC build.
/external/mesa3d/src/mesa/program/prog_parameter.h
24409ba1968cc49cbde6a111464c91271babc68a 19-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Determine GL_ACTIVE_ATTRIBUTE_MAX_LENGTH by walking the GLSL IR.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/prog_parameter.h
9520f483b8f1e45fa474674b415554988de5d8d3 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: s/INLINE/inline/

INLINE is still seen in some files (some generated files, etc) but this
is a good start.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/prog_parameter.h
7708b25e2b5e05f262c19dde5d7f3612a7e7e166 19-Aug-2011 Eric Anholt <eric@anholt.net> mesa: Make the gl_constant_value's bool occupy the same space as float/int.

At least for Intel, all our uniform components are of uint32_t size, either
float or signed or unsigned int. For uploading uniform data in the driver,
it's much easier to upload a full dword per uniform element instead of trying
to pick out the bool byte and then fill in the top 3 bytes of pad with 0.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/prog_parameter.h
8488112d20d49d3dc7fefef19c6e550e4b71661c 05-Aug-2011 Brian Paul <brianp@vmware.com> mesa: whitespace changes
/external/mesa3d/src/mesa/program/prog_parameter.h
b191382c60bdcfeb7f424b23aa6ab63de81e2f08 14-Jun-2011 Bryan Cain <bryancain3@gmail.com> mesa, glsl_to_tgsi: add native support for integers in shaders

Disabled by default on all drivers. To enable it, change ctx->GLSLVersion to 130
in st_extensions.c. Currently, softpipe is the only driver with integer support.
/external/mesa3d/src/mesa/program/prog_parameter.h
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/prog_parameter.h
b5c07b9226d8e7de78f6367b5799b39caf820ef3 25-Aug-2010 Eric Anholt <eric@anholt.net> mesa: Remove now-unused _mesa_add_sampler().

We do the generation of "what sampler number within Parameters are we"
right in ir_to_mesa.cpp, instead of repeatedly walking the existing
list to find out.
/external/mesa3d/src/mesa/program/prog_parameter.h
9ab1332d749e8e7eda2896c25725e245fd0f8444 25-Aug-2010 Eric Anholt <eric@anholt.net> mesa: Remove now-unused _mesa_add_uniform.

We had to inline it to avoid doing a double-lookup in the process of
adding assertion checks.
/external/mesa3d/src/mesa/program/prog_parameter.h
ea2231ff5e4ced36bdb65ccdd02a1008fb8bfce7 25-Aug-2010 Eric Anholt <eric@anholt.net> mesa: Remove the "Used" flag in gl_program_parameter.

This was in place for uniform handling, but nothing actually needs the
value now, since presence in a parameter list indicates that the
uniform was used as far as the linker was concerned.
/external/mesa3d/src/mesa/program/prog_parameter.h
c234d0b25f622a7bdd3c40bc72fdbd59d8494c7c 06-Aug-2010 Eric Anholt <eric@anholt.net> ir_to_mesa: Add support for sampler arrays.

Support for samplers in general is still incomplete -- anything in a
uniform struct will still be broken. But that doesn't appear to be
any different from master.

Fixes:
glsl-fs-uniform-sampler-array.shader_test
/external/mesa3d/src/mesa/program/prog_parameter.h
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/program/prog_parameter.h