Corbin Simpson
0bf152e0be
Remove r300 from default build.
2009-02-06 13:27:51 -08:00
Younes Manton
776d86606c
g3dvl: Catch up to gallium changes, fix build.
2009-02-06 14:37:35 -05:00
Younes Manton
bb34072b94
nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT.
2009-02-06 14:36:56 -05:00
Younes Manton
5c8c728afe
nouveau: Frontbuffer pitch needs to be set.
2009-02-06 14:33:49 -05:00
Brian Paul
f6d23943cd
mesa: fix tnl->render_inputs_bitset setup for fragment program texcoords
...
Handle the case where there's no per-vertex texcoords but the fragment shader
needs texcoords.
Fixes piglit shaders/fp-generic/dph test.
2009-02-06 10:48:38 -07:00
Brian Paul
1df62651b2
swrast: return (0,0,0,1) when sampling incomplete textures, not (0,0,0,0)
...
Fixes piglit shaders/fp-incomplete-tex test.
2009-02-06 10:47:31 -07:00
Brian Paul
e01a03d222
glsl: new MESA_GLSL env var for GLSL debugging features
...
Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug
builds. MESA_GLSL will work both in debug and non-debug builds.
Also add facility to dump glUniform() calls to stdout.
2009-02-06 10:21:36 -07:00
Brian Paul
6ce0c6e743
mesa: tweak output of _mesa_write_shader_to_file()
...
Enclose GPU code in comments to the file can be re-fed back into GLSL compiler.
2009-02-06 10:20:33 -07:00
Brian Paul
aafcc26642
Revert "mesa: meaningless whitespace change to see if git's working (ignore)"
...
This reverts commit b2e779988e
.
I didn't mean to push this stuff yet. I'm having a bad git day...
2009-02-06 10:00:34 -07:00
Brian Paul
b2e779988e
mesa: meaningless whitespace change to see if git's working (ignore)
2009-02-06 09:57:28 -07:00
Dave Airlie
da795ff0a8
radeon: remove include that breaks build in !OLD_PACKET path
...
this path isn't enabled by default in any case.
2009-02-07 00:18:34 +10:00
Corbin Simpson
2e70971e4f
r300: Clean up CS counting.
2009-02-06 01:59:26 -08:00
Joakim Sindholt
402d45d99b
r300: working trivial/clear for r5xx
2009-02-05 13:37:29 -08:00
Corbin Simpson
be53dfa3b9
r300: Add framebuffer setup stub.
2009-02-05 13:27:07 -08:00
Pekka Paalanen
e6372853c2
nv20: copy miptree flags from nv40
...
nv20_miptree_create() should set various flags.
Copy stuff over from nv40.
trivial/tri does not abort on nv04 swizzled copy anymore.
I still miss my triangle.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-05 20:35:24 +02:00
Pekka Paalanen
a785a4ae21
nv04-nv40: fix nv##_surface_copy() for flipped
...
If do_flipp is true, it would first do the proper copy, height would
wrap around to unsigned maximum, and then it attempts to do another
copy.
Return after doing the proper copy.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-05 20:35:24 +02:00
Pekka Paalanen
8569860c3d
nv04: fix pasto in nv04_surface_2d_init()
...
Wrong hardware object being used, when compared with earlier code.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-05 20:35:24 +02:00
Keith Whitwell
96fb896c39
indices: quad fixes
2009-02-05 16:04:38 +00:00
Keith Whitwell
3120894c6d
gallium: add new aux lib for index list translations
...
Could this be the ultimate index list translating utility? Maybe, but it
doesn't yet include support for splitting primitives.
Unlike previous attempts, this captures all possible combinations of API
and hardware provoking vertex, supports generated list reuse and various
other tricks. Relies on python-generated code.
2009-02-05 16:04:38 +00:00
Brian Paul
6e5d311719
mesa: remove oddball linux-directfb-install makefile rule
...
It's probably not needed since the 'make install' rules were overhauled last year.
2009-02-05 08:41:27 -07:00
Brian Paul
681a13e7f9
mesa: minor Makefile improvement for versioning
2009-02-05 08:39:10 -07:00
Brian Paul
099e9d20f0
gallium: fixup #includes: p_screen.h does not need anything in p_state.h
2009-02-05 08:23:00 -07:00
Brian Paul
0703b2e9ad
gallium: move 'struct pipe_winsys'
...
Not used in p_state.h but used in p_context.h and p_screen.h
2009-02-05 08:16:56 -07:00
Ben Skeggs
75f0b38d9e
nv50: stop using nouveau_push.h, it's evil
2009-02-05 18:42:17 +10:00
Ben Skeggs
ff8dff017e
nv04-nv40: move 2d blit/fill code into pipe driver
2009-02-05 18:22:41 +10:00
Ben Skeggs
13393736db
nv50: move 2d blit/fill code into pipe driver
2009-02-05 14:04:45 +10:00
Ben Skeggs
ae8a7544d1
nouveau: support getting "native" bo from winsys
2009-02-05 13:18:44 +10:00
Brian Paul
285b500bb7
glsl: use _slang_var_swizzle() in a few places to simplify the code.
2009-02-04 17:40:51 -07:00
Brian Paul
d96d8b21bf
glsl: remove unused prototype
2009-02-04 17:37:20 -07:00
Brian Paul
0744805d58
glsl: replace assertion with conditional in _slang_pop_var_table()
...
We were hitting the assertion when we ran out of registers, which can happen.
Also, add some additional assertions and freshen up some comments.
2009-02-04 17:32:07 -07:00
Corbin Simpson
fb8b794c69
r300: Add shader state stubs.
2009-02-04 16:07:39 -08:00
Brian Paul
1ca05a066b
mesa: more info in error messages
2009-02-04 16:33:25 -07:00
Brian Paul
8962bac0a1
swrast: add minor comments
2009-02-04 16:33:25 -07:00
Brian Paul
79e3441f66
Revert "docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver"
...
This reverts commit 2f51be75c5
.
2009-02-04 16:33:25 -07:00
Brian Paul
c35a5aeb70
mesa: make Xlib glXIsDirect() always return True
2009-02-04 16:33:25 -07:00
Brian Paul
c06c74c0b8
demos: remove unused function
2009-02-04 16:33:25 -07:00
Brian Paul
906c60d0b7
demos: silence uninitialized var warning
2009-02-04 16:33:25 -07:00
Brian Paul
803504e69f
mesa: minor error msg improvement
2009-02-04 16:33:25 -07:00
Chris Wilson
e92d97d75b
intel: Decode MI operands using specific length masks
...
The MI opcodes have different variable length masks, so use an operand
specific mask to decode the length.
2009-02-04 17:04:31 -05:00
Chris Wilson
05d130a35a
intel: Correct decoding of 3DSTATE_PIXEL_SHADER_CONSTANTS
...
A couple of minor typos that proclaimed an error in the wrong command, and
failed to offset the mask.
2009-02-04 16:56:31 -05:00
Eric Anholt
b2e09910f6
intel: Fix fbo_firecube regression with FBconfigs change.
...
By selecting a 4444 texture format due to a bad test, we hit the
intel_update_wrapper error path, and despite the appearance of error handling
in it and its callers, the desired behavior (software fallback) doesn't occur.
2009-02-04 10:31:04 -08:00
Maciej Cencora
c20df0ab4e
r300: make the macros safe. add missing parenthesis.
2009-02-04 08:01:52 -07:00
Maciej Cencora
5ee71bad7b
r300: Fix EXP2 fog
2009-02-04 08:01:52 -07:00
Ben Skeggs
ee97bcc66c
nouveau: notifier timeout is a float now
2009-02-04 21:08:41 +10:00
Ben Skeggs
79bf0bdc7f
nouveau: get things building/running again after pipe_surface.buffer removal
...
Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
2009-02-04 21:07:28 +10:00
Ben Skeggs
c10fb95790
nouveau: link against libdrm_nouveau (installed with libdrm)
2009-02-04 19:41:12 +10:00
Corbin Simpson
9f10b16790
r300: A bit more cleanup and state handling.
2009-02-04 00:50:38 -08:00
Corbin Simpson
f097465bb8
r300: Moar swtcl emit. Still sucks, but getting there.
2009-02-03 22:55:30 -08:00
Eric Anholt
8910da5b7a
intel: Fix commented-out glViewport in intel_meta_set_passthrough_transform.
...
Too much commit -a while debugging.
2009-02-03 20:06:48 -08:00
Eric Anholt
529d1d720e
swrast: Add support for x8r8g8b8 fbconfig.
...
This lets swrast produce an fbconfig suitable for the root visual now that
the server's not allowing mismatched fbconfigs.
2009-02-03 20:06:48 -08:00