summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_vertexprog.c
AgeCommit message (Collapse)Author
2006-08-28Check mesa_vp->Base.NumInstructions == 0 instead of mesa_vp->Base.String toBrian Paul
determine if we actually have a program. See "[r300] TCL fallback with Quake3".
2006-08-24fix bad casts, carry over r200 fix to check for null program string in ↵Brian Paul
r300_translate_vertex_shader()
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-06-23more cleanupsTilman Sauerbeck
2006-06-18no need to handle ARL in a special way, it's a generic scalar operation. ↵Tilman Sauerbeck
only tested on r300.
2006-06-18fix broken address register readsAapo Tahkola
2006-06-08mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck
2006-06-08struct op_names: get rid of the 'output operands' field as it's not used ↵Tilman Sauerbeck
(Roland Scheidegger)
2006-06-06various fixes (Roland Scheidegger)Aapo Tahkola
2006-05-31SWZ is nearly identical to MOV. the difference is that SWZ supports ↵Tilman Sauerbeck
per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
2006-05-31pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵Tilman Sauerbeck
r300's VSF_FLAGs now
2006-05-30minor code cleanup, no actual changesTilman Sauerbeck
2006-04-24extended swizzle (bug 6727)Brian Paul
2006-03-22implement arl and enable hw nv_vp.Aapo Tahkola
2006-03-13Clean build.Aapo Tahkola
2006-03-10Option to init vp temps(for testing)Aapo Tahkola
2006-02-28Free temps when possibleAapo Tahkola
2006-02-28Dont let (possibly) undefined z component reach hw as its unusedAapo Tahkola
2006-02-16Skip ARL while we dont implement it. Fix broken nv vps but do it with ↵Aapo Tahkola
software for now.
2006-02-10Workaround problems with NWN. (Tilman Sauerbeck)Aapo Tahkola
2006-01-27per vp sw fallbacksAapo Tahkola
2006-01-15Fix ARB_position_invariant handlingAapo Tahkola
2006-01-09Fix pow <small> and a very stypid bug with dummy srcs(0 equals to ↵Aapo Tahkola
tmp0.x)</small>. demos/cubemap looks perfect now.
2005-12-06Make missing interpolator inputs fatalAapo Tahkola
2005-12-06Fix secondary color for VP'sAapo Tahkola
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-05s/Negate/NegateBase/Brian Paul
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-11-05Fix broken build.Aapo Tahkola
2005-11-01-Fix first frame -bugAapo Tahkola
-Use 16-bit elts in vtxfmt_a path if possible -Optimize VSF param uploading -return in r300DepthMask looks suspicious, use r300Enable instead -Dont use r300ResetHwState in invalidate state(disabled, missing hooks, possible instabilities)
2005-10-26Cover my arse.Aapo Tahkola
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
2005-07-20Clean up warnings in r300 code by making some symbols static, adding prototypesEric Anholt
for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
2005-06-16Fix gloss breakage when using hw tnl.Aapo Tahkola
2005-05-28Programmable per-vertex point sizes and proper result reg assigns.Aapo Tahkola
2005-05-05Pack tex coord regs at vertex program backend.Aapo Tahkola
2005-05-01Add support to external tnl switcher and disable hw tnl by default.Aapo Tahkola
2005-04-30r300 side support for fixed function pipeline. This isnt functional with ↵Aapo Tahkola
current Mesa.
2005-04-24Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola
didnt want to build anymore.
2005-04-21Adding some comments.Aapo Tahkola
2005-04-21Had some odd problems with add and temps so doing it with mad. Adding some ↵Aapo Tahkola
MAD_2 cases.
2005-04-19Reorganized shader stuff.Aapo Tahkola
2005-04-19Fixes for bugs that were nailed down when compairing against software vertex ↵Aapo Tahkola
shading.
2005-03-18Misc fixes.Aapo Tahkola
2005-03-17Fix to get doom3 started.Aapo Tahkola
2005-03-16Proper VAP output configuration as R300_RS_ROUTE_0_COLOR became optional and ↵Aapo Tahkola
broke arbvptorus(takes no input color but produces output color). Also removing some useless code.
2005-03-12Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola
2005-03-08Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola
correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
2005-02-28fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping ↵Aapo Tahkola
VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise.
2005-02-03Since high bits can be used for flags, mask them out.Vladimir Dergachev
This stops arbvpwarpmesh from segfaulting and it actually works - with immediate mode rendering.