Commit Graph

11059 Commits

Author SHA1 Message Date
Brian 2e76f0a846 check for null Parameters ptr in _mesa_clone_program() 2006-12-19 09:52:07 -07:00
Brian af1d46b68a lots of clean-up and re-org 2006-12-19 08:59:51 -07:00
Brian bb8f7627f7 additional error checking 2006-12-19 08:59:36 -07:00
Brian 8473ae475f new error msg 2006-12-19 08:59:19 -07:00
Brian 194bc5afbd rewrite +=, -= etc for floats 2006-12-19 08:58:56 -07:00
Brian 8e20c417d4 Implement array indexing of simple vec2/3/4 types. A bit of a hack for now... 2006-12-18 17:54:58 -07:00
Brian d22079217c Added instruction counter to catch infinite loops (temporary). 2006-12-18 16:22:27 -07:00
Brian b50280e95f Check for inst->CondUpdate, print .C suffix. 2006-12-18 16:21:58 -07:00
Brian fbb71da2b9 Generate IR code for for/while loops, break and continue statements. 2006-12-18 14:45:26 -07:00
Brian 1aee657b0f Implement if-conditionals and while loops, added temporary resolve-branches function in linker. 2006-12-18 10:05:24 -07:00
Brian 34ae99d604 GLSL API functions. 2006-12-18 08:28:54 -07:00
Brian ad2519ac6b Use _mesa_free_linked_program_data() 2006-12-18 08:28:06 -07:00
Brian 962a9f2f9d comments 2006-12-18 08:25:23 -07:00
Nian Wu ead0f46d5f Merge branch 'crestline' into crestline-qa 2006-12-17 10:49:43 -08:00
Ben Skeggs 53d40646bd Don't build passthrough shader on <NV40 2006-12-17 03:38:21 +00:00
Brian 0031ea7d85 fix comment, handle NOP 2006-12-16 12:52:55 -07:00
Brian f7159552ae Initial code for conditional constructs. 2006-12-16 12:52:19 -07:00
Brian 3a2815370d print BRA instructions 2006-12-16 12:51:34 -07:00
Brian 3e1f4bc15b added cases for BRA, NOP 2006-12-16 12:51:12 -07:00
Brian b456413d76 cases for NOP, BRA 2006-12-16 12:50:51 -07:00
Brian b497a0cb7c Don't update span->array->z[] values from SLANG_FRAGMENT_FIXED_FRAGDEPTH.
This restores the behaviour of Mesa 6.5.1, fixing a regression in 6.5.2.
See bug 9345.  Revisit someday...
2006-12-16 11:17:41 -07:00
Brian 6ec4a03b9f initial release notes for 6.5.3 2006-12-16 11:09:14 -07:00
Brian 6d982e53ee don't allow fog when using a fragment shader (bug 9346) 2006-12-16 11:07:00 -07:00
Ben Skeggs de947e8a5b Get nv10_swtcl.c working enough for glxgears on NV40. 2006-12-16 12:32:11 +00:00
Brian a4be104887 start implementing relational operators 2006-12-15 17:05:53 -07:00
Brian cb7ccc4b14 start rewriting the matrix/vector functions 2006-12-15 16:47:42 -07:00
Brian f167d0e7d5 added assertion to catch use of too many temporaries 2006-12-15 15:37:32 -07:00
Brian fa8059a89c fix double-printing of comment info 2006-12-15 15:36:29 -07:00
Brian 9b00fa9ac2 code movement 2006-12-15 15:36:09 -07:00
Brian bfc02dd30f Lots of assorted changes.
Implement assignment/move for types larger than 4 floats.
Fix codegen bug for "return expr" in inlined functions.
More clean-up of storage allocation code (slang_resolve_storage).
2006-12-15 15:35:57 -07:00
Brian 6579245800 redo mat4 addition, mat4 constructor from vec4s 2006-12-15 15:32:11 -07:00
Gary Wong 24a495fd77 Fix copy-and-paste mistake in comment ("scaling" should read "translation").
Before _mesa_Translatef().
2006-12-15 17:18:36 -05:00
Ben Skeggs c340dd7d84 NV1x/2x hw_func stubs. 2006-12-15 21:02:23 +00:00
Brian 4b4632f94c vertex/fragment program field changes 2006-12-15 10:10:23 -07:00
Brian d6aff512fe varying var changes 2006-12-15 10:10:01 -07:00
Brian 464b9f4f6c varying var changes 2006-12-15 10:09:49 -07:00
Brian 9abf73b8cc varying changes 2006-12-15 10:09:33 -07:00
Brian a7e252026d updated includes 2006-12-15 10:09:12 -07:00
Brian 60a7200c0d updated includes 2006-12-15 10:08:59 -07:00
Brian 89f88058b9 use MAX_VARYING 2006-12-15 10:08:24 -07:00
Brian e3b2668865 use MAX_VARYING 2006-12-15 10:08:15 -07:00
Brian a7a582296b more debug output 2006-12-15 10:08:02 -07:00
Brian a90046f109 Lots of assorted changes for new GLSL compiler backend.
New datatypes, constants, variables.
2006-12-15 10:07:26 -07:00
Brian becb393d42 Use extfuncs.h helper. Added command line options for loading
vertex/fragment shaders from files.
2006-12-15 09:31:14 -07:00
Brian e55b771a1e simple extension function wrangler 2006-12-15 09:30:31 -07:00
Brian 39adc30250 change/add/rm several filenames 2006-12-15 08:55:49 -07:00
Brian c968d3d410 Renamed s_nvfragprog.[ch] to s_fragprog.[ch] 2006-12-15 08:50:02 -07:00
Brian b78fb7abaf Renamed s_nvfragprog.[ch] to s_fragprog.[ch], program_instruction.h to prog_instruction.h 2006-12-15 08:49:27 -07:00
Brian 6232438acb remove unneeded includes 2006-12-14 15:54:01 -07:00
Brian 885afd59ec remove unneeded includes 2006-12-14 15:53:49 -07:00