summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-01-18remove swizzle param from new_var()Brian
2007-01-181. Fix bug #155Zou Nan hai
2. I notice multiple ARB_occlusion_query should be able to overlap according to spec. 3. Declaring extern variables in a .c file is evil, fix it.
2007-01-18support as much of GL_EXT_stencil_two_side as we can. untested.Aapo Tahkola
2007-01-18typo fix. this case still fails.Aapo Tahkola
2007-01-18Fix invalid enums passed to MapBufferAapo Tahkola
2007-01-18Fix invalid enums passed to MapBufferAapo Tahkola
2007-01-17rewrite additional matrix-related functions to reduce register needsBrian
2007-01-17rewrite mat4 * mat4 operator to use fewer tempsBrian
2007-01-17do bounds check in _slang_push_var_table(), added commentBrian
2007-01-17rewrite matrix constructorsBrian
2007-01-17handle var size > 4 in _slang_pop_var_table()Brian
2007-01-17Rewrite a bunch of constructors. It's now important that the firstBrian
constructor for any given type be the one that takes the most parameters as this is the constructor that'll be used when there's no perfect match to the caller's arguments. See the _slang_adapt_call() function for details.
2007-01-17_slang_gen_function_call_name() now tries to adapt function calls (expandBrian
vectors, insert casts) when a perfect match isn't found.
2007-01-17New _slang_adapt_call() function.Brian
This is used to modify function calls (when possible) to make the arguments map to the function parameters. This includes "unrolling" vector types and doing casts. Example: vec2 v2 = vec2(1.2, 3.4) ivec3 iv = ivec3(false, v2); Is converted into: ivec3 iv = ivec3(int(false), int(v2[0]), int(v2[1]))
2007-01-17code clean-up, re-org. Added IR_F_TO_I support.Brian
2007-01-17added IR_F_TO_I, update commentsBrian
2007-01-17Added OPCODE_INT to convert 4 floats to 4 ints.Brian
2007-01-17Fix/clean-up a number of things related to variable/temporary allocation.Brian
2007-01-17I965: fix bug#9625-get the correct PV for quardstripXiang, Haihao
The order of vertices in payload for quardstrip is (0, 1, 3, 2), so the PV for quardstrip is c->reg.vertex[2].
2007-01-16Implement codegen for the selection operator ( b ? x : y )Brian
2007-01-16fix typoBrian
2007-01-16when automatically binding vertex attributes, start with attrib 1, not 0Brian
2007-01-16 remove dead codeBrian
2007-01-16commentsBrian
2007-01-16implement logical or, xor, notBrian
2007-01-16some additional vector constructorsBrian
2007-01-16nouveau: Use the most recent card list.Stephane Marchesin
2007-01-16fix _slang_gen_subscript() for the case when a simple vector is accessed as ↵Brian
an array: convert index to a swizzle/writemask
2007-01-16Don't special-case index, edgeflag.Keith Whitwell
Remove display list opcodes for INDEX and EDGEFLAG, handle them through the regular ATTRIB mechanism now that Mesa understands them to just be regular attribs.
2007-01-16Merge vbo_0_1_branchKeith Whitwell
Hopefully leaving behind the cruft generated by the CVS import.
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2007-01-15Reimplement the post-increment/decrement functions.Brian
Instead of defining functions with an extra dummy parameter to distinguish from the pre-incr/decr functions, just use new function names: __postIncr and __postDecr.
2007-01-15Implement the ++var and --var operators, improve some constructors.Brian
2007-01-15added vec3 constructor codeBrian
2007-01-15added IR_ELEMENTBrian
2007-01-15checkpoint: ++, -- and && operatorsBrian
2007-01-15Redo the way array indexes are handled. Resolve storage location at code ↵Brian
emit time, not codegen time.
2007-01-15mesa: Update _Current along Current on fragment program bound.Jerome Glisse
Same as a previously committed patch for vertex program, we update fragment program ptr _Current along the Current one so that _Current can't end up pointing to a no more valid program.
2007-01-15remove old globalsBrian
2007-01-15commentsBrian
2007-01-15Move some global vars into slang_assemble_ctx.Brian
2007-01-15nouveau:nv10: fix setting clip regionPatrice Mandin
2007-01-15fix the subassig, mulassign and divassign casesBrian
2007-01-15clean-up slang_allocate_storage()Brian
2007-01-15Remove unused index buffer.Keith Whitwell
2007-01-15Don't special-case FOG attribute initialization.Keith Whitwell
Initial fog value was being set to {0,0,0,0}. This results in vector size 4, but isn't necessary. The regular {0,0,0,1} works fine.
2007-01-15Correctly initialize current attribute sizes.Keith Whitwell
Some legacy attributes (eg color) have an initial value other than {0,0,0,1} which means that their initial size != 1 either.
2007-01-15Remove debug, reenable inplace splitting.keithw
2007-01-15Split too-large draw commands.Keith Whitwell
Use the vbo_split_ functionality to split incoming drawing command to fit within the fixed-size buffers used by software t&l module.
2007-01-15Remove special-case handling for index and edgeflagKeith Whitwell
This isn't required with the changes to core mesa and the new attribute layout.