History log of /external/mesa3d/src/mesa/program/prog_print.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8ff8c91893cee8b1893de91e145c8496a12ab9ca 26-Oct-2012 Marek Olšák <maraeo@gmail.com> mesa: bump MAX_VARYING to 32

We're starting to get apps utilizing more than 16 varyings and
most current hardware supports 32 anyway.

Tested with r600g.
swrast, softpipe and llvmpipe still advertise 16 varyings.

This fixes a WebGL crash after launching this demo:
https://developer.mozilla.org/en-US/demos/detail/falling-cubes

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54402

NOTE: This is a candidate for the stable branches.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit b3921e1f53833420e0a0fd581f741744e7957a05)

Conflicts:
src/mesa/main/context.c
/external/mesa3d/src/mesa/program/prog_print.c
df2d81ea59993a77bd1f1ef96c5cf19ac692d5f7 03-Jul-2012 Brian Paul <brianp@vmware.com> mesa: use the PRIx64 macro for printing 64-bit hexadecimal values

We'll revert the #define fprintf __mingw_fprintf change next.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/program/prog_print.c
9a548c27aa704236cc1d8a5d4ebf68cea9c5c99c 12-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove _mesa_ffs(), implement ffs() for non-GNU platforms

Call ffs() and ffsll() everywhere. Define our own ffs(), ffsll()
functions when the platform doesn't have them.

v2: remove #ifdef _WIN32, __IBMC__, __IBMCPP_ tests inside ffs()
implementation. The #else clause was recursive.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Alexander von Gluck <kallisti5@unixzen.com>
/external/mesa3d/src/mesa/program/prog_print.c
bb6fb7afd37e523256d1b8861b0d5e3030e31282 18-Dec-2011 nobled <nobled@dreamwidth.org> program: fix previous commit

Accidentally an old patch.
/external/mesa3d/src/mesa/program/prog_print.c
f71984ee5b4a7369ce3cc86fb0253ac66d80388c 08-Dec-2011 nobled <nobled@dreamwidth.org> program: fix out of bounds array accesses and other bad things

Noticed a "warning: array subscript is above array bounds" given at one of
the existing sanity-check asserts. Turns out all the arrays of strings
haven't matched the corresponding enum values in a while, if ever.

I didn't know the proper names for any of these and couldn't find
them in the base specs aside from "result.pointsize" in
ARB_vertex_program, so I just filled in the enum's value
as was done with other slots.

Also add four STATIC_ASSERT()s to be sure and catch future additions
or bumps to MAX_VARYING/etc again, and some more non-static asserts
where there weren't any before.

(Note, the fragment enum that corresponded to result.color(half) was removed in
8d475822e6e19fa79719c856a2db5b6a205db1b9.)

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_print.c
8a11d40c4e8d3338571a8d85638d0100e1a2aafb 12-Dec-2011 Marek Olšák <maraeo@gmail.com> mesa: fix an out-of-bounds access in prog_print.c

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_print.c
529fa775293ddd24e389f2ea6a43bd18f01a1609 29-Nov-2011 Brian Paul <brianp@vmware.com> mesa: use Elements() macro in program printing code
/external/mesa3d/src/mesa/program/prog_print.c
76374e60cd7ec6519aae77cb98a747710114bae2 29-Nov-2011 Brian Paul <brianp@vmware.com> mesa: fix printf format warning in _mesa_fprint_program_parameters()
/external/mesa3d/src/mesa/program/prog_print.c
118fd08b586970175af9ae269c81c0f501acba25 05-Oct-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Simplify uniform debug logging logic

This simplificiation was enabled by the earlier refactors that
eliminated the references to the assembly shaders stored in the
gl_shader_program structure.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/prog_print.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/prog_print.c
19efd1442cc44b0307fe72938d7c2b66c544654f 27-Apr-2011 Kenneth Graunke <kenneth@whitecape.org> prog_print: Add support for printing the TXD opcode.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/program/prog_print.c
379332f629153220614e651225b0521cd64c98b9 09-Dec-2010 Brian Paul <brianp@vmware.com> mesa: program printing for PROGRAM_SYSTEM_VALUE
/external/mesa3d/src/mesa/program/prog_print.c
b8dacaf174517d3efa32711e0f85f8b861d0846b 23-Nov-2010 Brian Paul <brianp@vmware.com> mesa: rename, make _mesa_register_file_name() non-static

Plus remove unused parameter.
/external/mesa3d/src/mesa/program/prog_print.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_print.c
443a7e4e9a360acbc3e662c098be436f180bf81d 14-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'master' into glsl2
2d83e3fa0de6e0b39307cdc67725ca88855d68d2 12-Aug-2010 Brian Paul <brianp@vmware.com> mesa: check for null shader->InfoLog before printing
/external/mesa3d/src/mesa/program/prog_print.c
72fd0568db0ce5f25a1eee0266ec1e7cb3dafab0 05-Aug-2010 Eric Anholt <eric@anholt.net> i965: Settle on printing our program debug to stdout.

Mixing stderr (_mesa_print_program, _mesa_print_instruction,
_mesa_print_alu) with stdout means that when writing both to a file,
there isn't a consistent ordering between the two.
/external/mesa3d/src/mesa/program/prog_print.c
8e181b629f97ada65cc1b8a17ba42edc2ea77254 04-Aug-2010 Eric Anholt <eric@anholt.net> mesa: Don't null deref looking for Mesa IR code at compile time.

The new compiler doesn't generate Mesa IR at compile time, and that
compile time code previously wouldn't have reflected the link time
code that actually got used. But do dump the info log of the compile
regardless.
/external/mesa3d/src/mesa/program/prog_print.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/prog_print.c
1491c6aa2de17760ab157a3fe71e45006e4eecf6 14-Jul-2010 Zack Rusin <zackr@vmware.com> mesa: add comments and change Index2D to just Index2
/external/mesa3d/src/mesa/program/prog_print.c
b4855288e4de9001b4107d3d4c2f7aff4a4680f9 10-Jul-2010 Zack Rusin <zackr@vmware.com> mesa: add basic support for 2D register arrays to mesa

just like in Gallium it's a basic functionality needed by a lot
of modern graphcis extensions
/external/mesa3d/src/mesa/program/prog_print.c
53d3f0c78818c93e7121857998ba207bfe9275fe 02-Jul-2010 José Fonseca <jfonseca@vmware.com> mesa: Silence warning.
/external/mesa3d/src/mesa/program/prog_print.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/prog_print.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_print.c