Commit Graph

74545 Commits

Author SHA1 Message Date
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 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 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
Brian 2c1f975852 remove unneded includes 2006-12-14 15:50:34 -07:00
Brian 901c1bb402 remove some unneeded includes 2006-12-14 15:49:09 -07:00
Brian 0831ef5038 include prog_print.h 2006-12-14 15:47:54 -07:00
Brian cc6a141dc1 Remove some moved extern decls. 2006-12-14 15:47:34 -07:00
Brian 464b82b1e6 Move some code from prog_print.c to prog_instruction.c 2006-12-14 15:47:08 -07:00
Brian 0ae7404835 Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2006-12-14 15:20:15 -07:00
Brian 865f88afc0 Renamed from s_nvfragprog.[ch] 2006-12-14 15:14:14 -07:00
Brian 49f82803cc Updated includes. 2006-12-14 15:13:06 -07:00
Brian 60417b646d chmod a-x 2006-12-14 15:03:33 -07:00
Brian 57d9531cd6 Updated includes. 2006-12-14 15:03:04 -07:00
Brian c0551f0a46 Updated includes. 2006-12-14 15:02:37 -07:00
Brian a7a89e362b Updated #includes after splitting program.h 2006-12-14 15:02:19 -07:00
Brian 0560d81ce9 Move many functions into new files. 2006-12-14 15:01:28 -07:00
Brian 00cdc0a472 Split the program.[ch] files into several new files. 2006-12-14 15:01:06 -07:00
Brian 5cc1292508 Replace __extension__ with LONGSTRING. 2006-12-14 14:27:05 -07:00
Brian 200736ebd8 Modify _mesa_strdup() so it handles NULL correctly. 2006-12-14 13:59:53 -07:00
Brian cc0c8b2248 Updates for new linker (merged varying/uniform vars). 2006-12-14 13:59:25 -07:00
Brian ef264c2971 Assorted fix-ups for the new linker.
Disable some of the excessive debug output.
2006-12-14 13:58:57 -07:00
Brian d4f7e4cc01 The new linker actually does a few things right now:
The varying vars used by the vertex and fragment shader are merged so they
agree.
Similarly, uniforms are merged (along with constants, etc).
The vertex/fragment program instructions are then cloned and rewritten
with the newly resolved uniform/varying locations.
2006-12-14 13:58:32 -07:00
Brian b2a3a8554a New functions for cloning programs and parameter lists. 2006-12-14 13:56:58 -07:00
Brian e7e4181361 Remove include of s_arbshader.h 2006-12-14 09:51:54 -07:00
Brian b56a5261fe Check in a long-misplaced spec update. 2006-12-14 09:38:06 -07:00