Michel Dänzer
7dd5ced962
intel: Fix relative symlinks.
2007-11-25 14:17:02 +01:00
Ben Skeggs
042b7dfd0e
nv40: fix build after gallium changes
2007-11-25 13:05:56 +11:00
Ben Skeggs
2bd97ca942
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2007-11-25 13:00:15 +11:00
Ben Skeggs
2a2756a019
nv40: be more flexible with render target setup
2007-11-25 12:39:32 +11:00
Ben Skeggs
b8c5419faf
nv40: remove unused stuff
2007-11-25 12:06:42 +11:00
Ben Skeggs
25acd4eba0
nv40: point sprites
2007-11-25 12:02:12 +11:00
Ben Skeggs
8b1c8f5e75
nv40: fp arbitrary swizzling/negation
...
Pretty bad implementation, goal was to get glBitmap working.
2007-11-25 11:25:32 +11:00
Michal Krol
7043db677f
Cleanup PIPE_FORMAT names.
...
Add a function that builds a display name of a given format token.
2007-11-24 16:02:31 +00:00
Brian
be1fa5b3d7
better test of point attenuation
2007-11-23 16:19:25 -07:00
Brian
88b067cb04
#define GL_GLEXT_PROTOTYPES to silence warning
2007-11-23 14:35:46 -07:00
Brian
999b55663a
Consolidate texture fetch code and use partial derivatives when possible.
2007-11-23 12:01:57 -07:00
Brian
ba16243884
Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array indexes.
2007-11-23 10:25:48 -07:00
Brian
c14d969a69
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
2007-11-23 09:14:39 -07:00
Michal Krol
b3dee0185e
gallium: remove sp_headers.h references.
2007-11-23 13:48:12 +00:00
Michal Krol
abd5e8e41d
gallium: reorg tgsi directories.
2007-11-23 13:28:16 +00:00
Michal Krol
44519be0f5
gallium: back out winsys interface changes
2007-11-23 13:27:20 +00:00
Ben Skeggs
558f3abb49
nv40: support for keeping multiple vtxprogs on the hw at the same time.
2007-11-23 18:54:19 +11:00
Brian
0fd679a190
Consolidate point size computation, clamping in get_size().
...
Also, apply user-defined clamp limits to point size even when not using
attentuation or program-computed size.
2007-11-22 09:34:38 -07:00
Brian
ccb1c9df00
Print point/line size range limits
2007-11-22 09:34:38 -07:00
José Fonseca
9924f208cf
Use the new vertex buffer draw stage.
2007-11-22 11:57:31 +00:00
José Fonseca
1a8daf0627
New vertex buffer stage.
2007-11-22 11:46:32 +00:00
José Fonseca
45f658f172
Fix build.
2007-11-22 11:44:13 +00:00
José Fonseca
369ff9786d
The right include was mtypes.h.
2007-11-22 11:44:00 +00:00
José Fonseca
c584142543
Fix build errors.
2007-11-22 11:43:58 +00:00
Michal
0e31e24659
Fix compatibility issues between gcc and msvc.
2007-11-22 11:43:04 +00:00
Michal
5961732c1b
Make it compile under Win32.
2007-11-22 11:18:02 +00:00
José Fonseca
4541ee5343
Remove fences from the i915simple winsys interface.
...
Fences will be part of the pipe winsys interface, so remove this to avoid
merge conflicts later on.
This reverts commit ca7f68a7cf .
This reverts commit dec60d33b2 .
This reverts commit 90dd0cb822 .
2007-11-22 10:56:09 +00:00
Roland Scheidegger
3d51c79001
fix z buffer read/write issue with rv100-like chips and old ddx
2007-11-22 02:49:15 +01:00
Brian
2112191d45
more simplification, clean-up in draw_set_vertex_info()
2007-11-21 16:03:16 -07:00
Brian
9f0b5bba70
Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().
...
Just pass in the vertex_info object and make a copy of it.
2007-11-21 16:00:57 -07:00
Brian
fbe68bf6b2
Simplify draw module's vertex_info.
...
No longer store the vertex header and clip pos info in the draw module's
vertex_info. The vertex_info just describes the data[] elements.
This simplifies the code in several places.
2007-11-21 15:40:20 -07:00
Ben Skeggs
dd1500b8b4
nouveau: wait for sync after m2mf also, to be thourough.
...
These will all go away at some point I promise, want to rule out sync issues
while I bash nv40 into shape.
2007-11-21 19:21:34 +11:00
Ben Skeggs
ff7edad077
nv40: Better teximage layout, probably not 100% correct still.
...
Gallium represents image layout by saying that each mipmap level has a number
of "face" images within it. However, nv40 represents them as "faces" that
have a number of mipmap levels. I'm not sure if the gallium representation
allows this, but I've made an attempt to match it as closely as possible.
CUBE/3D textures with mipmaps are probably broken, but untested currently.
2007-11-21 19:20:38 +11:00
Ben Skeggs
af1a388939
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
2007-11-21 15:38:28 +11:00
Eric Anholt
93c98a4669
[965] Replace 965 texture format code with common code.
...
The only functional difference should be that 965 now gets the optimization
where textures default to 16bpp when the screen is 16bpp.
2007-11-20 11:30:12 -08:00
Eric Anholt
e962997429
[965] Remove dead exec vfmt code which was replaced by generic vbo code.
2007-11-20 11:30:10 -08:00
Brian
5a6017d496
add PIPE_FORMAT_Z24_S8 support to softpipe patsh
2007-11-20 08:36:06 -07:00
Brian
0191570f02
initial support for PIPE_FORMAT_Z24_S8
2007-11-20 08:30:10 -07:00
Brian
827e72de75
clamp lambda to Min/MaxLod
2007-11-20 08:24:46 -07:00
Ben Skeggs
0655cdcf48
nv40: force reupload of all consts on vtxprog change
2007-11-20 22:34:55 +11:00
Ben Skeggs
0d0349faff
nouveau: temporary workaround for dodgy buffer code
2007-11-20 22:09:56 +11:00
Ben Skeggs
b9b5f4b3c1
nv40: "rect" textures, anisotropic filtering
2007-11-20 21:13:33 +11:00
Ben Skeggs
30837fd24f
nv40: fix a couple of typos
2007-11-20 20:56:47 +11:00
Ben Skeggs
f01e305e98
nv40: use native Z24_S8 format for zeta buffer
2007-11-20 19:10:58 +11:00
Ben Skeggs
85d626508a
Add support for Z24_S8 to GL state tracker.
2007-11-20 19:09:47 +11:00
Ben Skeggs
04fcee96b1
nv40: track pipe const id
2007-11-20 19:08:33 +11:00
Ben Skeggs
b4c813313a
nv40: remove use of temps for KILP, implement KIL
2007-11-20 15:34:26 +11:00
Ben Skeggs
060127af38
nouveau: update to latest header
2007-11-20 13:22:11 +11:00
Brian
c4f9fbb57f
optimize earlyz_quad(), add comments, remove unneeded #includes
2007-11-19 18:16:07 -07:00
Brian
0204cbb4f1
optimize linear_interpolation(), perspective_interpolation() functions
2007-11-19 18:15:21 -07:00