History log of /external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dca6a28a14f22d77273d79d44f57b0d853c0242d 31-Oct-2011 Mathias Fröhlich <Mathias.Froehlich@web.de> mesa: Make gl_program::InputsRead 64 bits.

Make gl_program::InputsRead a 64 bits bitfield.
Adapt the intel and radeon driver to handle a 64 bits
InputsRead value.

Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
56d30bb00d40cd391d7a469604792a27ddcc459c 29-Oct-2011 Dave Airlie <airlied@redhat.com> radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernel

This drops all the old drmSupports* checks since KMS does them all, and it
also drop R300_CLASS and R600_CLASS.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
54db6e618e43abbd69b59e0a03e2b6ec83d3120f 30-Jun-2011 Bryan Cain <bryancain3@gmail.com> r200, r600c, i965: fix build
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
f70c98b6a628e7450728431c0ca877a37a5af70f 09-Feb-2011 Brian Paul <brianp@vmware.com> r200: add cast to silence warning
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
4ac9c80e5beea26e13ccf12ce6bd9ee051c229f5 05-Feb-2010 Brian Paul <brianp@vmware.com> mesa: change ctx->Driver.ProgramStringNotify() to return GLboolean

GL_TRUE indicates that the driver accepts the program.
GL_FALSE indicates the program can't be compiled/translated by the
driver for some reason (too many resources used, etc).

Propogate this result up to the GL API: set GL_INVALID_OPERATION
error if glProgramString() was called. Set shader program link
status to GL_FALSE if glLinkProgram() was called.

At this point, drivers still don't do any program checking and
always return GL_TRUE.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
e85cb98a169f83e1a1ad7f17cbbedaee0ea47fe1 24-Jan-2010 Vinson Lee <vlee@vmware.com> r200: Silence fprintf format warning.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
239105c6c87da0b0c5c15ae54b19fe39492b0f29 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Convert r200 to use new style debug code.

Only very few places where realy converted so there isa lot of to do.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
466c78c93538f2853449124c06274d538830cd5a 22-Apr-2009 Dave Airlie <airlied@linux.ie> Merge remote branch 'origin/master' into radeon-rewrite
7db7ff878d3e5a6b345228e6eaee4797bb68b360 15-Apr-2009 Brian Paul <brianp@vmware.com> mesa: merge the prog_src_register::NegateBase and NegateAbs fields

There's really no need for two negation fields. This came from the
GL_NV_fragment_program extension. The new, unified Negate bitfield applies
after the absolute value step.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
407e8ae5b167b0193e1e5b1266a5d61ed836dfb5 20-Mar-2009 Dave Airlie <airlied@redhat.com> Merge remote branch 'main/master' into radeon-rewrite

Conflicts:
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/radeon_ioctl.c
src/mesa/drivers/dri/radeon/radeon_screen.c
b4026d9be828bd0b6f60158456edf24994efb053 07-Mar-2009 Brian Paul <brianp@vmware.com> mesa: gl_register_file enum typedef
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
4637235183b80963536f2364e4d50fcb894886dd 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: initial attempt to convert to common context code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
0217ed2cf9b0a538ca03d26b302a7cd57af7dd21 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: move more stuff closer together in context
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
5ee7b7912c1fe7b09d13ae385088e4281b62eba6 21-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> replace __inline and __inline__ with INLINE macro
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
8642dd30f927a113be0dcd75e4e93e59cf099431 17-Apr-2008 Andrew Randrianasulu <randrik@mail.ru> r200: accept PROGRAM_CONSTANT inputs due to mesa changes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
32134b5508495fbb1d9fc2f844e22fbb082dcda6 12-Apr-2008 Roland Scheidegger <sroland@tungstengraphics.com> r200: fix XPD vertex program instruction when using temps as inputs

due to the two read ports limit into temp memory may need the MAD_2 instruction
for the second instruction of the decomposed XPD.
While here, also try to avoid MAD_2 for MAD if all 3 inputs are temps but the
temps aren't actually distinct.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
2290ea7fe694dd74a88f4480326e9470fb9e945e 01-Jan-2008 Hans de Goede <j.w..r..degoede@hhs.nl> rx00: fix off by one error in tempreg check
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
acfeb3b6ea93bcb5b18e6f51a0727e39da608d76 11-Sep-2007 Brian <brian.paul@tungstengraphics.com> Fix-up #includes to remove some -I options.

eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
064ae479a770bf434958d673baf6f7530f642697 23-Feb-2007 Brian <brian@yutani.localnet.net> Update DRI drivers for new glsl compiler.

Mostly:
- update #includes
- update STATE_* token code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
421ce180f52ff55b866066fabd861a51dd6d2b26 09-Feb-2007 Roland Scheidegger <sroland@tungstengraphics.com> r200: simplify / unify input map handling for vp and fftnl

Use the same input map handling for fftnl and vertex programs. It doesn't
enable any new functionality (should make it easy to support per-vertex
materials though), but the code is much cleaner.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
09e4df2c65c1bca0d04c6ffd076ea7808e61c4ae 03-Feb-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix errorneously adding fog state params to all vertex programs...
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
2956a0c8a8395e4d9ae00888aeb88ea5c38b89ad 14-Dec-2006 Roland Scheidegger <sroland@tungstengraphics.com> submit vertex weights to make World of Warcraft maybe happy (bug 8250)

submit the vertex weights to hw, which will enable broken vertex programs
errorneously using them to work. Note however that this will only work
if glWeight is used, there is no code in mesa at all to deal with weight
vertex array (glWeightPointerARB).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
21cf414489af84b8bb374f76c36db8f0f1919733 30-Nov-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix mixed conventional / generic vertex arrays which caused a wrong array order leading to very bogus rendering (for instance WoW intro screen mentioned in #8250).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
5785e328e0467a6ca78920e8f553851072087e8a 29-Nov-2006 Roland Scheidegger <rscheidegger@gmx.ch> call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up the change in the r200 driver accordingly.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
aee30f3f9d4c2936ddb735e07ec5988444e0a89e 05-Nov-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp inputs.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
029d18cd3d79ff956c50b3486078d968d15bf0fb 03-Nov-2006 Roland Scheidegger <rscheidegger@gmx.ch> enable generic arrays for r200 hw vertex programs by assigning unused color and texture inputs to them. Not widely tested yet. This should eliminate all fallbacks due to vertex programs, except writes to back facing colors, or when exceeding a hw limit (12 temps, 12 attribs etc.).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
b55a0ab7ab02be7d6de139d8180d5f073cd871e3 26-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove code for inserting mvp transform into position-invariant vertex progs and instead use _mesa_insert_mvp_code().
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
e9b923182ed8738fe5eb8bea1d688a6198db346e 25-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> change some bogus comments regarding the base e exponential function used for fog in vertex programs.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
fc606f7db9072d4f40081aea8f92f1d4489a5115 25-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix (per-vertex) fog when using ARB_vp by incorporating fog factor computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
9f819dc0145aabe18717dcd1de6e83e62bb8b19a 22-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
87d6028f28d35ae7f88a606c8119be627eb6599a 13-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> make sure we upload the new vertex program if the program string changes.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
c5cb8e2c6f2ad089bc0b94eb89abb2f804dd6dfa 07-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
91650469aeb01f249bcd553d9d309b3016c2f93c 01-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> make sure vertex programs are only enabled on the hw when they are really enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
901f83f14efbef80d03485580484dbdbc8f1234b 31-Aug-2006 Roland Scheidegger <rscheidegger@gmx.ch> do not abort with not supported vertex prog output configuration, fallback instead
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
a974aaaa3e77a04375e5a9ddd413507596bd743e 30-Aug-2006 Roland Scheidegger <rscheidegger@gmx.ch> Minor r200 vertex program cleanups. Remove disabled leftovers from r300 vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
ef3f00f67e26e8944c98012e42433291ba92de0b 30-Aug-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix typo causing a segfault when a vertex program uses more than 96 parameters
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
b5a2fc125516f46fade82a8c65527ffe77cab5c2 28-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String to
determine if we actually have a program. See "[r300] TCL fallback with Quake3".
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
94ff996cae9951129fee1010b201b72e8453f406 25-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> Check for NULL program string in r200_translate_vertex_program().
Fixes bug reported by Chris Rankin.
Added some new comments.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
116411d5f00dd4af6bb2da3a98d57ca6fa2c1d82 24-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> Check if mesa_vp->Base.Parameters is null before dereferencing (bug report
from Chris Rankin).
Also, fix some bad casts.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
122629f27925a9dc50029bebc5079f87f416a7e1 20-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> Some structure renaming. Prefix vertex/fragment-related structs with
"gl_" to match other structs.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
46c1419c9342f68755636208307ee6bbd5c0cc24 04-Jul-2006 Roland Scheidegger <rscheidegger@gmx.ch> some minor simplifications (same as in r300 driver) since mesa's internally used swizzle and writemask flags are identical to the bits used on the hardware, use a macro to error out if these assumptions are no longer true.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
11fceb19d3aa6adf9fe103ad733b37a69229caec 18-Jun-2006 Tilman Sauerbeck <tilman@freedesktop.org> no need to handle ARL in a special way, it's a generic scalar operation. only tested on r300.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
5b90cf2f2f3dcda0d674c01859847149b4054608 10-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> enable arb_vertex_program by default if drm is new enough. Do a fallback when it's a nv_vp as there could be issues.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
d6213e6023ca96660db5ddc909acad9f21c3f2e9 08-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. Clean up the r200 vertex program code a bit.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
98c791b543c4ba86b8bb54488bd872b33b10b1aa 03-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement arb_vertex_program in hw for r200. Code contains still some hacks, generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c