Stephane Marchesin
a62a738f3d
nv10: use the gallium alloc/free wrappers.
2008-07-08 20:26:04 +02:00
Stephane Marchesin
511693d00c
nv04: use FREE/MALLOC like a good gallium boy should.
2008-07-08 20:06:57 +02:00
Stephane Marchesin
98c1b12ea0
Merge branch 'gallium-0.1' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/mesa into gallium-0.1
2008-07-08 16:38:55 +02:00
Stephane Marchesin
28268f7b22
nv30: use native instructions.
2008-07-08 16:38:27 +02:00
Ben Skeggs
06d87b44cf
nv50: make use of nouveau drm 0.0.11 to get 3d going
2008-07-08 12:51:29 +10:00
Stephane Marchesin
205101dafb
nv10: there are no 3D textures.
2008-07-08 01:34:36 +02:00
Stephane Marchesin
fec4e427f8
nv04: Hook the lib into the build.
2008-07-08 01:32:32 +02:00
Stephane Marchesin
97646f1045
nv04: use BEGIN_RING_NI
2008-07-08 01:30:48 +02:00
Stephane Marchesin
52a68dd9eb
nv04.
2008-07-08 01:06:18 +02:00
Younes Manton
6235141fd2
g3dvl: IDCT part 1.
...
Very basic IDCT support is in, performed CPU-side for now.
2008-07-06 22:05:07 -04:00
Younes Manton
49937b9985
g3dvl: Round surfaces up to POT, use src rect when outputting surfaces.
2008-07-06 22:05:07 -04:00
Patrice Mandin
f99643ca6e
nv30: Emit sampler state using state objects
2008-07-04 18:53:44 +02:00
Ben Skeggs
77f8167d75
Merge remote branch 'upstream/gallium-0.1' into gallium-0.1
2008-07-05 00:53:13 +10:00
Brian Paul
dd3311aa89
mesa: added _vbo_VertexAttrib4f()
2008-07-03 17:21:23 -06:00
Brian Paul
7366f3fc54
mesa: fix incorrect array size, added assertion
2008-07-03 17:21:23 -06:00
Brian Paul
0ed3f6f575
mesa: fix array storage allocation bug
2008-07-03 17:21:23 -06:00
Brian Paul
22ac107971
mesa: regenerated file
2008-07-03 17:21:22 -06:00
Brian Paul
4d1d6ed159
mesa: additional vec4 constructor
2008-07-03 17:21:22 -06:00
Brian Paul
d4172263e5
mesa: fix various error codes
2008-07-03 17:21:22 -06:00
Brian Paul
bb18a8b2ea
mesa: fix some error codes in _mesa_ShaderSourceARB()
2008-07-03 17:21:22 -06:00
Brian Paul
d015ffa6ea
mesa: fix problem freeing framebuffer/renderbuffer objects
...
Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
2008-07-03 17:21:22 -06:00
Brian Paul
51abbdd227
gallium: added a4r4g4b4_put_tile_rgba()
2008-07-03 17:21:22 -06:00
Brian Paul
78388c0e37
mesa: added case for fixed pt
2008-07-03 17:21:22 -06:00
Brian Paul
f042d662e2
gallium: increase TGSI interpreter's number of temp registers to 64
...
Also, clean up the definitions of the misc/extra temp regs.
A few new assertions too.
2008-07-03 17:21:22 -06:00
Brian Paul
00eb309c31
gallium: move, increase ST_MAX_SHADER_TOKENS
2008-07-03 17:21:22 -06:00
Brian Paul
3c12874857
gallium: increase TGSI_EXEC_MAX_COND_NESTING, etc
2008-07-03 17:21:21 -06:00
Patrice Mandin
6f56b527d8
nv30: Reemit state when changing context
2008-07-03 22:47:15 +02:00
Patrice Mandin
568b477b9c
nv30: Emit viewport state using state objects
2008-07-03 22:42:30 +02:00
Patrice Mandin
e7e231a511
nv30: Emit polygon stipple state using state objects
2008-07-03 22:31:23 +02:00
Patrice Mandin
f1d24c1d27
nv30: Emit scissor state using state objects
2008-07-03 22:18:38 +02:00
Patrice Mandin
c66f376e27
nv30: Emit depth/stencil/alpha state using state objects
2008-07-03 22:10:53 +02:00
Patrice Mandin
360f7a3e23
nv30: Emit rasterizer state using state objects
2008-07-03 21:48:18 +02:00
Patrice Mandin
c0e9eb3b09
nv30: Emit blend state using state objects
2008-07-03 21:25:47 +02:00
Patrice Mandin
52cf7a6c1c
nv30: Emit blend color state using state objects
2008-07-03 21:11:07 +02:00
Patrice Mandin
36488ed052
nv30: Emit framebuffer state using state objects
2008-07-03 20:58:31 +02:00
Brian Paul
2212c214f1
gallium: fix surface memleak in bitmap code
...
Found w/ tunnel2.c demo.
2008-07-03 10:12:37 -06:00
José Fonseca
ade03755bc
pipebuffer: Silent warnings.
...
Although rarely hit in normal apps, they are too noisy with test suites.
2008-07-03 21:28:56 +09:00
José Fonseca
c193cc506f
gallium: Don't forget to get overllaping blits working again.
2008-07-03 20:50:23 +09:00
Jakob Bornecrantz
d94c7063ec
i915: EGL almost works again
2008-07-03 12:12:25 +02:00
Jakob Bornecrantz
28f3d390dd
egl: Fix demodriver
2008-07-03 12:10:36 +02:00
José Fonseca
8ccab31356
gallium: Use surface_copy for 1:1 blits.
2008-07-03 15:06:24 +09:00
Brian Paul
1ca2306147
mesa: fix vertex array validation test for attribute 0 (vert pos)
...
We don't actually need vertex array[0] enabled when using a vertex
program/shader.
cherry-picked from master
2008-07-02 19:18:10 -06:00
Brian Paul
98b7174ad6
gallium: replace an assertion with "if (!texobj) continue"
...
It's possible to call update_samplers() between the time a fragment shader
is bound and when a texture image is defined (such as glClear). This
fixes the case where we don't have a complete texture object yet.
2008-07-02 19:11:49 -06:00
Brian Paul
dad8a7c90d
gallium: fix a bug in vertex program output mapping
...
Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots
after all other attributes have been handled. This fixes a bug where
generic vertex program outputs (varying vars) could get mapped to the
same slot at point size or back-face colors.
2008-07-02 19:07:11 -06:00
Brian Paul
8fb4d602db
gallium: nr_attrs was off by one, updated comments, minor code movement
2008-07-02 19:05:18 -06:00
Brian Paul
39b9b05313
mesa: additional GLSL built-in constants
2008-07-02 17:10:42 -06:00
Brian Paul
dff477a5e2
mesa: when linking a shader program, make sure all the shaders compiled OK
...
cherry-picked from master
2008-07-02 17:08:47 -06:00
Brian Paul
40739d4ae9
mesa: added some debug code (disabled)
...
cherry-picked from master
2008-07-02 17:08:28 -06:00
Brian Paul
088c42c5c3
mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()
...
If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE
or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a
'program' or is a totally unknown ID.
There might be other cases to fix...
cherry-picked from master
2008-07-02 17:08:09 -06:00
Brian Paul
16caeeab4b
mesa: regenerated file
2008-07-02 17:06:26 -06:00