History log of /external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f584f3821426955b94f36c77191edcfe1b1cc7d5 09-Nov-2016 Timothy Arceri <timothy.arceri@collabora.com> st/mesa/glsl: add new is_arb_asm flag in gl_program

Set the flag via the _mesa_init_gl_program() and NewProgram()
helpers.

In i965 we currently check for the existance of gl_shader_program
to decide if this is an ARB assembly style program or not.

Adding a flag makes the code clearer and will help removes a
dependency on gl_shader_program in the i965 codegen functions.

Also this will allow use to skip initialising sampler units for
linked shaders, we currently memset it to zero again during linking.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
c3df65c123c6392b0b116900395a89fd3dbb9b85 17-Nov-2016 Timothy Arceri <timothy.arceri@collabora.com> st/mesa/r200/i915/i965: move ARB program fields into a union

It's common for games to compile 2000 programs or more so at

32bits x 2000 programs x 22 fields x 2 (at least) stages

This should give us something like 352 kilobytes in savings
once we add some more glsl only fields.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
cc6aa1d161280f10ded7834d1ec2413bc97589fe 02-Nov-2016 Timothy Arceri <timothy.arceri@collabora.com> st/mesa/r200/i915/i965: use rzalloc() to create gl_program

This allows us to use ralloc_parent() to see which data structure owns
shader_info which allows us to fix a regression in nir_sweep().

This will also allow us to move some fields from gl_linked_shader to
gl_program, which will allow us to do some clean-ups like storing
gl_program directly in the CurrentProgram array in gl_pipeline_object
enabling some small validation optimisations at draw time.

Also it is error prone to depend on the gl_linked_shader for
programs in current use because a failed linking attempt will free
infomation about the current program. In i965 we could be trying
to recompile a shader variant but may have lost some required fields.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
5346630593bec80efa732c40b63e0e95a00af074 20-Oct-2016 Timothy Arceri <timothy.arceri@collabora.com> r200/glsl/st/mesa: use common outputs written field

And set outputs written directly in shader_info.

st/mesa changes where:
Reviewed-by: Marek Olšák <marek.olsak@amd.com>

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
e81aaeba37f5419323d8f88bc10943c77e25ed14 20-Oct-2016 Timothy Arceri <timothy.arceri@collabora.com> r200/i915/st/mesa/compiler: use common inputs read field

And set set inputs_read directly in shader_info.

To avoid regressions between changes this change is a squashed
version of the following patches.

st/mesa changes where:
Reviewed-by: Marek Olšák <marek.olsak@amd.com>

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
3423488d55b9c483fcdb3996eb89b424c1031d24 19-Oct-2016 Timothy Arceri <timothy.arceri@collabora.com> st/mesa/r200/i915/i965: eliminate gl_fragment_program

Here we move OriginUpperLeft and PixelCenterInteger into gl_program
all other fields have been replace by shader_info.

V2: Don't use anonymous union/structs to hold vertex/fragment fields
suggested by Ian.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
81faead818a0b2fde131df019f5dfb0baef49273 18-Oct-2016 Timothy Arceri <timothy.arceri@collabora.com> mesa/i965/i915/r200: eliminate gl_vertex_program

Here we move the only field in gl_vertex_program to the
ARB program fields in gl_program.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
bcb56c2c69dd1695d7828d831d71c957e7e497c6 13-Oct-2015 Emil Velikov <emil.l.velikov@gmail.com> program: convert _mesa_init_gl_program() to take struct gl_program *

Rather than accepting a void pointer, only to down and up cast around
it, convert the function to take the base (struct gl_program) pointer.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
d695c676ea61f48f121969462ece708b739a02c0 05-Oct-2015 Marek Olšák <marek.olsak@amd.com> program: remove _mesa_init_*_program wrappers

They didn't do anything useful.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
d8b14a57a98f4bad6528eda8dd1406c15bdcce75 16-Apr-2015 Marius Predut <marius.predut@intel.com> radeon: replace __FUNCTION__ with __func__

Consistently just use C99's __func__ everywhere.
No functional changes.

Signed-off-by: Marius Predut <marius.predut@intel.com>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
bbedb85898fb53bee613510e1fe8d890aab4cfda 26-Feb-2015 Brian Paul <brianp@vmware.com> r200: replace INLINE with inline

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
bb1f0969756fbb827c4b2520c632daa15342b064 13-Nov-2013 Eric Anholt <eric@anholt.net> mesa: Remove PROGRAM_ENV_PARAM enum.

This has been replaced with referring to env parameters using
PROGRAM_STATE_VAR and _mesa_load_state_parameters.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
33b0455211019988fe418cca5dfac62c7902c861 13-Nov-2013 Eric Anholt <eric@anholt.net> mesa: Remove PROGRAM_LOCAL_PARAM enum.

This has been replaced with referring to local parameters using
PROGRAM_STATE_VAR and _mesa_load_state_parameters.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
addf00e2add2a51e50f33468221656a9c1389b02 24-Apr-2013 Laurent Carlier <lordheavym@gmail.com> r200: fix build regression introduced with 9a32203e1618486e87c7baf494134e05f0e38cf3

Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
36b252e94724b2512ea941eff2b3a3abeb80be79 23-Feb-2013 Paul Berry <stereotype441@gmail.com> Replace gl_vert_result enum with gl_varying_slot.

This patch makes the following search-and-replace changes:

gl_vert_result -> gl_varying_slot
VERT_RESULT_* -> VARYING_SLOT_*

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
b2e0293213dcff24e26a4968a19262bfe7a781b9 15-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove PROGRAM_WRITE_ONLY register type.

More dead code. I'm not sure what it was for.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
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/drivers/dri/r200/r200_vertprog.c
58c466519d82fe040e9e20263058a03395a7b95b 15-Oct-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Remove yet more remnants of NV_fragment_program.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
63c233cf08acc47c37feba8134260a535c2c087c 10-Oct-2012 Eric Anholt <eric@anholt.net> r200: Remove support for software-only NV_vertex_program.

It wasn't supported in hardware, and the comments in the code indicated no
known uses (similar to my experience on Intel) and a possible intent to remove
it.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/r200/r200_vertprog.c
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