Commit Graph

201327 Commits

Author SHA1 Message Date
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
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
Michel Dänzer fde908444a Fix copy-and-paste-o of my e-mail address. 2006-12-14 12:57:59 +01:00
Michel Dänzer e0c9361a7c Avoid failing assertion in intel_miptree_set_image_offset() with cube maps.
Cube maps still aren't working quite correctly though.
2006-12-14 12:47:44 +01:00
Michel Dänzer 81855f22cd Fix some corner cases in i945_miptree_layout_2d().
Based on a patch from Keith Whitwell, with some further fixes.
2006-12-14 12:42:51 +01:00
Michel Dänzer 3416ef303a Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.
Use the i965 version as it has some fixes over the i915tex version.
2006-12-14 12:39:38 +01:00
Michel Dänzer cc1afed671 intel_finalize_mipmap_tree: Add more conditions for rebuilding mipmap trees.
These are taken from the i965 driver and fix corruption of some mipmap levels
under some circumsances with 945 chipsets at least.

Also flush the batchbuffer after copying data between trees, or some apps fail
an assertion elsewhere.
2006-12-14 11:04:10 +01:00
Michel Dänzer 5f8a3e586f intel_batchbuffer_flush: Don't assert cliprects when lock is not held.
This is a legitimate situation when copying texture data between mipmap trees.
2006-12-14 11:01:39 +01:00
Michel Dänzer 4cb09df015 intelTexSubimage: Fix last parameter for intel_miptree_image_map(). 2006-12-14 11:01:38 +01:00
Michel Dänzer 9c09259b8b _mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.
This fixes texture data corruption with glTexSubimage (and probably glTexImage
under some circumstances) with the texstore swizzle path.
2006-12-14 11:01:38 +01:00
Michel Dänzer 78a6e05439 mipmap_limits: Fix display of current texture filtering mode. 2006-12-14 11:01:38 +01:00
Ben Skeggs 99878298da Improve SwapBuffers a bit. 2006-12-14 04:34:38 +00:00