Brian Paul
266fe93a87
mesa: debug code for printing info about textures, writing teximages to disk
16 years ago
Brian Paul
671fed4d01
mesa: code refactoring: move texcombine code into update_tex_combine()
16 years ago
Brian Paul
2a50dde0f5
mesa: minor clean-ups, remove unneeded conditional
16 years ago
Brian Paul
b46611633c
mesa: fix logic error in computing enableBits in update_texture_state()
If we had a vertex shader but no fragment shader (i.e. fixed function) we
didn't get the right enabled texture targets.
Fixes blank/white texture problem.
16 years ago
Younes Manton
32cd1a0345
nouveau: Need to surface_copy() without a pipe context.
16 years ago
Corbin Simpson
2d6355495c
Merge branch 'gallium-0.2' of git://anongit.freedesktop.org/mesa/mesa into gallium-0.2
16 years ago
Corbin Simpson
5538323005
Readd trace to list of default pipe drivers.
Looks like the gallium-0.2-radeon merge clobbered it.
16 years ago
Corbin Simpson
4683fc94f5
Merge branch 'gallium-0.2-radeon' into gallium-0.2
16 years ago
Corbin Simpson
80026428e3
Rename winsys amd to radeon.
16 years ago
Corbin Simpson
0bf152e0be
Remove r300 from default build.
16 years ago
Younes Manton
776d86606c
g3dvl: Catch up to gallium changes, fix build.
16 years ago
Younes Manton
bb34072b94
nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT.
16 years ago
Younes Manton
5c8c728afe
nouveau: Frontbuffer pitch needs to be set.
16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago
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...
16 years ago
Brian Paul
b2e779988e
mesa: meaningless whitespace change to see if git's working (ignore)
16 years ago
Dave Airlie
da795ff0a8
radeon: remove include that breaks build in !OLD_PACKET path
this path isn't enabled by default in any case.
16 years ago
Corbin Simpson
2e70971e4f
r300: Clean up CS counting.
16 years ago
Joakim Sindholt
402d45d99b
r300: working trivial/clear for r5xx
16 years ago
Corbin Simpson
be53dfa3b9
r300: Add framebuffer setup stub.
16 years ago
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>
16 years ago
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>
16 years ago
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>
16 years ago
Keith Whitwell
96fb896c39
indices: quad fixes
16 years ago
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.
16 years ago
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.
16 years ago
Brian Paul
681a13e7f9
mesa: minor Makefile improvement for versioning
16 years ago
Brian Paul
099e9d20f0
gallium: fixup #includes: p_screen.h does not need anything in p_state.h
16 years ago
Brian Paul
0703b2e9ad
gallium: move 'struct pipe_winsys'
Not used in p_state.h but used in p_context.h and p_screen.h
16 years ago
Ben Skeggs
75f0b38d9e
nv50: stop using nouveau_push.h, it's evil
16 years ago
Ben Skeggs
ff8dff017e
nv04-nv40: move 2d blit/fill code into pipe driver
16 years ago
Ben Skeggs
13393736db
nv50: move 2d blit/fill code into pipe driver
16 years ago
Ben Skeggs
ae8a7544d1
nouveau: support getting "native" bo from winsys
16 years ago
Brian Paul
285b500bb7
glsl: use _slang_var_swizzle() in a few places to simplify the code.
16 years ago
Brian Paul
d96d8b21bf
glsl: remove unused prototype
16 years ago
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.
16 years ago
Corbin Simpson
fb8b794c69
r300: Add shader state stubs.
16 years ago
Brian Paul
1ca05a066b
mesa: more info in error messages
16 years ago
Brian Paul
8962bac0a1
swrast: add minor comments
16 years ago
Brian Paul
79e3441f66
Revert "docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver"
This reverts commit 2f51be75c5
.
16 years ago
Brian Paul
c35a5aeb70
mesa: make Xlib glXIsDirect() always return True
16 years ago
Brian Paul
c06c74c0b8
demos: remove unused function
16 years ago
Brian Paul
906c60d0b7
demos: silence uninitialized var warning
16 years ago
Brian Paul
803504e69f
mesa: minor error msg improvement
16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago