Eric Anholt
ff60e3fa03
intel: If a tex image doesn't fit in the object's tree, make a temporary tree.
...
Previously, we would just store the data as malloced memory hanging off the
object, which would get memcpyed in at validate time. This broke an
oglconform render-to-texture test, since validate wasn't called but a miptree
was expected.
2008-07-25 12:19:50 -07:00
Brian Paul
72809f3773
mesa: fix issues causing warnings on Windows
2008-07-25 08:34:54 -06:00
Brian Paul
03de81aea1
mesa: glsl: additional error detection
...
Plus begin some fixes for vec/matrix constructors.
2008-07-25 08:26:53 -06:00
Dave Airlie
9bc9e0ecb0
i965: fixup format for TFP zero copy
2008-07-25 20:32:22 +10:00
Dave Airlie
04c98089d1
Revert "intel: disable zero-copy TFP."
...
This reverts commit 94979950e8 .
I've fixed it instead
2008-07-25 19:57:35 +10:00
Dave Airlie
d4244683a6
i965: make tex offset override work..
...
should fix fd.o 14441
2008-07-25 19:56:56 +10:00
Michal Krol
2acf917f00
mesa: Mark as XXX unresolved warnings on windows.
2008-07-25 10:41:53 +02:00
Dave Airlie
94979950e8
intel: disable zero-copy TFP.
...
patch from Fedora. maybe someone can fix this later but for now
lets try and release Mesa so ajax can live his life and get Xorg 7.4 out.
2008-07-25 16:31:38 +10:00
Brian Paul
7b2ef2b884
mesa: gls: fix broken else clause of conditional break/continue
...
In the following case:
for () {
if (cond)
break; // or continue;
else
something;
}
The "something" block didn't get emitted.
2008-07-24 15:49:09 -06:00
Brian Paul
643228c506
mesa: move extensions->version code into separate function
2008-07-24 15:12:42 -06:00
Brian Paul
0216a58430
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
2008-07-24 15:11:59 -06:00
Brian Paul
90a3af7d9d
mesa: glsl: only try to link shaders defining main()
2008-07-24 15:11:38 -06:00
Brian Paul
948f6e302c
mesa: move extensions->version code into separate function
2008-07-24 15:11:11 -06:00
Brian Paul
d8ababdcc2
mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string
2008-07-24 15:11:11 -06:00
Brian Paul
51bfb6aa99
query/print GLSL version string
2008-07-24 15:11:11 -06:00
Jesse Barnes
9a4be9785f
intel: remove buffer swap debug output
...
Accidentally pushed as part of the last commit.
2008-07-24 11:46:08 -07:00
Ian Romanick
6118d830a6
Revert "965: Fix color clamping issues"
...
This reverts commit b993d539a7 . The
patch was applied incorrectly. Actual fix coming soon. Sorry for the
noise.
2008-07-24 08:40:22 -07:00
José Fonseca
4ec4ea14a5
scons: Lookup WINDDK and WINCE SDK directories in the registry.
2008-07-24 21:24:58 +09:00
José Fonseca
101d1a658a
mesa: Prefix main includes with dir to avoid conflicts.
...
Some of the headers in src/mesa/main have pretty common names which
easily conflict with third-party code, e.g. config.h
2008-07-24 21:24:10 +09:00
José Fonseca
fd6865c7e5
softpipe: Remove unused variables.
2008-07-24 21:23:09 +09:00
José Fonseca
83869ceab5
tgsi: Silent msvc warning.
...
Rather stupid warning: msvc is warning that converting from a 1bit
structure bitfield to a unsigned char looses precision... /WX makes this
an error.
2008-07-24 21:23:08 +09:00
Thomas Hellstrom
7c2d7f8cf5
Fix a typo.
2008-07-24 13:35:35 +02:00
Thomas Hellstrom
9dd73d58ae
Add new demo "fbo_firecube".
...
Tests fbo render-to-texture for various internal texture image formats.
2008-07-24 13:32:59 +02:00
Michal Krol
b4ed6e9b17
mesa: Silence compiler warning on windows.
2008-07-24 11:03:05 +02:00
Pawel Pieczul
117533759f
965: Fix partially transparent textures in Doom 3 engine games
...
Numbers of destination depth registers corrected (destination stencil
register was sent as depth register).
2008-07-23 15:43:23 -07:00
Brian Paul
f7be39ea10
gallium: bump TGSI_EXEC_NUM_TEMPS to 128
2008-07-23 16:28:15 -06:00
Brian Paul
d5835c1d0f
mesa: glsl: fix/simplify built-in constant lookup
2008-07-23 15:14:22 -06:00
Brian Paul
564c97660a
mesa: glsl: fix/simplify array element handling
...
Also fix bug in comparing large structs/arrays.
2008-07-23 15:04:25 -06:00
Brian Paul
576c5fcc61
mesa: glsl: mark constructor params as const
2008-07-23 12:00:48 -06:00
Eric Anholt
2e37143800
intel: Add a little span cache to spead up readpixels by cutting syscalls.
2008-07-23 10:21:25 -07:00
Eric Anholt
d2d5abfaeb
intel-gem: Use pread/pwrite for span access.
...
This will avoid clflushing entire buffers for small acesses, such as those
commonly used by regression tests.
2008-07-23 10:21:25 -07:00
Eric Anholt
f0ca917924
intel: improve 2d batchbuffer debug output.
2008-07-23 10:21:25 -07:00
Eric Anholt
1c8791c581
intel: Fix CopyTexSubImage's src tiling arg for the blit.
...
Didn't hurt 915, but needed for 965.
2008-07-23 10:21:25 -07:00
Eric Anholt
bdaa06ad63
intel: move renderbuffer mapping to separate functions.
...
This lets us avoid duplicated code for doing so, including the depthstencil
paths that aren't covered by SpanRenderStart/Finish. Those paths were
missing the span funcs setup, leading to a null dereference in the fbotexture
demo.
2008-07-23 10:21:24 -07:00
Brian Paul
5f2a5f6164
gallium: print extended swizzle negation flags
2008-07-23 09:56:44 -06:00
Brian Paul
93f553ed4d
gallium: fix translation of extended swizzles, per-component negation
2008-07-23 09:56:20 -06:00
Michal Krol
0aa0141e0c
tgsi: Fix tgsi_util_get_full_src_register_extswizzle().
2008-07-23 17:53:50 +02:00
Jakob Bornecrantz
818cd9dca2
i915: intel_flush_frontbuffer does work
2008-07-23 14:07:26 +02:00
Brian Paul
7f3d6e7481
mesa: glsl: rework swizzle storage handling
...
Build on the heirarchal approach implemented for arrays/structs.
2008-07-22 18:27:56 -06:00
Brian Paul
0d1ed45cbf
mesa: fix uninitialized var
2008-07-22 17:38:55 -06:00
Brian Paul
11a5c2d4ee
mesa: glsl: implement constructor functions for user-defined types
2008-07-22 15:17:10 -06:00
Brian Paul
e4139657e0
mesa: remove stray debug assertion
2008-07-22 11:54:22 -06:00
Jesse Barnes
97988ccc46
intel: fix buffer swaps and enable page flipping on 965
...
Some buffer swap intel render buffer fields (pf_num_pages & vbl_pending) are
also used for page flipping, so enable the code that sets & updates them on
965. This allows buffer swaps and page flips to work on 965 and prevents hangs
in LOCK_HARDWARE in the buffer swap case due to an uninitialized vbl_pending
field.
Fixes FDO #16118 .
2008-07-22 09:39:23 -07:00
Michal Krol
51d219dbfe
tgsi: Fix immediate usage checks.
...
Provide more info for register usage errors/warnings.
2008-07-22 17:14:54 +02:00
Roland Scheidegger
7467a943fc
add env var to override msaa visual selection
2008-07-22 16:51:48 +02:00
Brian
63025ec726
mesa: fix glUniform error checking for samplers
2008-07-21 20:42:05 -06:00
Brian
e3ca92aa28
mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c
...
No API-level functions now in program.c.
2008-07-21 20:33:42 -06:00
José Fonseca
883097053d
win32kprof: Store the profile data as an caller->callee hash table, instead of a trace.
2008-07-22 09:45:33 +09:00
José Fonseca
4db631a399
gallium: Open a new file when existing profile memory map is exhausted.
2008-07-22 09:45:33 +09:00
José Fonseca
2fafe29793
win32kprof: Generate callgraphs.
...
Relies on gprof2dot.py.
2008-07-22 09:45:33 +09:00