Brian Paul
97937e0ac8
i965: the return value of translate_insn() is never used. Make it void.
2009-02-13 17:18:36 -07:00
Brian Paul
2f2082bf16
i965: minor clean-ups
2009-02-13 17:18:36 -07:00
Brian Paul
2f78d4a2cd
i965: code clean-ups, comments, and minor refactoring
2009-02-13 17:18:36 -07:00
Brian Paul
7cffcaaba1
i965: updated comments
2009-02-13 17:18:35 -07:00
Brian Paul
643d940138
intel: turn on GL_ARB_shading_language_120
...
It's done in the Mesa GLSL compiler. The only part of it that might
matter in drivers is the centroid sampling option for MSAA.
2009-02-13 17:18:35 -07:00
Brian Paul
11b75eafc7
i965: more reformatting/clean-up
2009-02-13 17:18:35 -07:00
Brian Paul
1a693e90b5
i965: s/__inline/INLINE/
2009-02-13 17:18:35 -07:00
Brian Paul
984c9636ed
i965: formatting and indentation fixes
2009-02-13 17:18:35 -07:00
Brian Paul
14dc493733
i965: fix inconsistant indentation in brw_wm.c
2009-02-13 17:18:35 -07:00
Robert Ellison
88b702e8c4
i965: Eric Anholt's patch for bumping up texture sizes
...
I'm committing this because it fixes a conform failure; the failure occurs
on the TextureProxy test, where the test attempts to create proxy textures
at every level, but fails at the last level (border == 1, width == 1,
height == 1) because it's beyond MAX_TEXTURE_LEVELS.
Eric's original comment was:
idr said that in his review swrast was ready for it, and the 965 driver is
advertising it already though it has been resulting in many crashes due to
arrays using these defines not being big enough.
2009-02-13 15:19:04 -07:00
Jakob Bornecrantz
b6779056a1
trivial: Make tri-fog a bit more interesting to look at
2009-02-13 23:03:57 +01:00
Keith Whitwell
89e2b9c6c2
Merge commit 'origin/draw-vbuf-interface'
2009-02-18 12:54:26 +00:00
José Fonseca
ea4bf267e4
util: Move p_debug.h into util module.
...
The debug functions depend on several util function for os abstractions, and
these depend on debug functions, so a seperate module is not possible.
2009-02-18 12:05:26 +00:00
José Fonseca
06cd416d7c
util: (Re)enable memory debugging for all windows platforms.
2009-02-18 11:17:06 +00:00
José Fonseca
673d01eda9
wgl: Report memory leaks.
2009-02-18 11:17:06 +00:00
Keith Whitwell
c706ea4f45
draw: Reuse xmm registers.
2009-02-18 10:08:19 +00:00
Corbin Simpson
c613e366a9
r300-gallium: Properly init shader state.
2009-02-17 21:34:12 -08:00
Corbin Simpson
d25304a2f7
r300-gallium: Consolidate state updates.
2009-02-17 21:33:59 -08:00
Brian Paul
9f731c8962
mesa: add some debug code to help diagnose incomplete FBO attachments (disabled)
2009-02-17 16:47:54 -07:00
Brian Paul
be8dd01678
glsl: fix mistake in a comment
2009-02-17 16:31:59 -07:00
Brian Paul
f59719c6c7
mesa: turn on reporting of GLSL version 1.20
...
The new array features, precision/invariant/centroid qualifiers, etc. were
done a while back. The glGetString(GL_SHADING_LANGUAGE_VERSION) query returns
"1.20" now (for drivers that support it anyway).
2009-02-17 16:17:13 -07:00
Brian Paul
6eabfc27f1
glsl: fix an array indexing bug
...
This fixes a bug found with swizzled array indexes such as in "array[index.z]"
where "index" is an ivec4.
2009-02-17 16:17:13 -07:00
Brian Paul
edd8cb8c87
glsl: added --params option to stand-alone GLSL compiler
...
Prints program parameter info
2009-02-17 16:17:13 -07:00
Brian Paul
f88a901598
mesa: when printing/dumping instruction, include relative addressing info
...
Not all cases were handled before.
2009-02-17 16:17:13 -07:00
Eric Anholt
fd51cf1531
intel: Fix tri clear to do FBO color attachments as well.
...
This is a 2% win in fbo_firecube, and would avoid a sw fallback for
masked clears.
2009-02-17 11:30:48 -08:00
Eric Anholt
c06f4e2a37
i965: Fix fallback on stencil drawing to fbo when the visual lacks stencil.
...
Noticed this with the fbotexture demo.
2009-02-17 11:30:09 -08:00
Eric Anholt
60953059ea
intel: Clean up several 965 memory leaks on context destroy.
2009-02-17 10:58:32 -08:00
Alan Hourihane
baef7c5474
mesa: remove old comment as it's fixed elsewhere now.
2009-02-17 09:56:33 +00:00
Brian Paul
07855a1d76
softpipe: some improvements to texture tile cache
...
Use a somewhat better function in tex_cache_pos() to get better caching.
Increase number of cache entries to 50.
Also fix a texture invalidation bug. If texture is marked as modified,
invalidate all texture tiles.
2009-02-16 18:53:45 -07:00
Alan Hourihane
b9de2089b1
gallium: fix glean's vertProg1
...
RSQ test 2 (reciprocal square toot of negative value)
2009-02-16 20:23:18 +00:00
Jakob Bornecrantz
b57031624e
trivial: Add a tri-unfilled-fog test
2009-02-13 21:18:41 +01:00
Corbin Simpson
8e234d655d
r300-gallium: Add draw_arrays for swtcl_emit.
...
The more I look at this, the more bugs I see.
2009-02-17 21:32:40 -08:00
Corbin Simpson
8ec853d4df
r300-gallium: Properly init shader state.
2009-02-17 21:31:33 -08:00
Corbin Simpson
ecb177e198
r300-gallium: Consolidate state updates.
2009-02-17 21:30:55 -08:00
Corbin Simpson
46ef26eb90
r300-gallium: Hook up new swtcl vbuf stage.
...
Hold on to your hats.
2009-02-17 19:23:09 -08:00
Corbin Simpson
81daa5323e
r300-gallium: Turn swtcl_emit into a vbuf_render stage.
...
Movin' out of the Stone Ages.
2009-02-17 19:04:39 -08:00
Corbin Simpson
75f950c222
r300-gallium: Update r300_reg from classic Mesa.
...
Mostly needed a few defines for index buffers, but there's other goodies too.
2009-02-17 18:50:07 -08:00
Jakob Bornecrantz
54e20828e6
demos: Add polygon mode point to isosurf
2009-02-13 17:53:49 +01:00
Jakob Bornecrantz
94189b3001
nv20: Use the new draw vbuf interface
2009-02-17 15:04:02 +00:00
Jakob Bornecrantz
7973d47cad
nv10: Use the new draw vbuf internface
2009-02-17 14:47:42 +00:00
Jakob Bornecrantz
1ba3849192
nv04: Use the new draw vbuf interface
2009-02-17 14:37:56 +00:00
Michel Dänzer
7c8836e9ef
gallium: Various coordinate fixups for texture transfers.
...
Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels.
2009-02-13 17:34:29 +01:00
Corbin Simpson
073a73e4c7
r300-gallium: Various thingies.
...
Add formats to framebuffer emit, fix up shader function names,
make sure fragment format is emitted for r500.
2009-02-13 08:18:26 -08:00
Dan Nicholson
c273dfe6a2
Add dummy install target for glew to fix 'make install'
...
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-13 07:41:51 -08:00
Dan Nicholson
2977cee38e
autoconf: Add GLEW needed by progs when building GLUT
...
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-13 07:41:51 -08:00
Brian Paul
ac53b1b034
mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential segfault
...
_tnl_free_vertices() is called from several places during context tear-down.
Depending on the order in which the swrast, swrast_setup and tnl context is
destroyed we could hit a null pointer here. This doesn't seem to be an
actual issue with any Mesa drivers, but let's be safe.
2009-02-13 08:11:01 -07:00
Brian Paul
6559107c7a
mesa: add additional texture size/limit assertions
2009-02-13 07:44:15 -07:00
Jakob Bornecrantz
16a440f326
i915: Use the new draw vbuf interface
2009-02-13 11:38:34 +01:00
Keith Whitwell
1c4f67b980
draw: second argument to unmap is max, not count
2009-02-17 12:39:05 +00:00
Keith Whitwell
7ca78a07b3
softpipe: update to new draw interfaces
2009-02-17 12:20:05 +00:00