Commit graph

92185 commits

Author SHA1 Message Date
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
Younes Manton
b4d198e477 g3dvl: Minor fixes. 2008-07-23 02:28:41 -04:00
Ben Skeggs
39793a262f nouveau: is_format_supported() interface changes 2008-07-23 14:14:55 +10:00
Ben Skeggs
704dca40c4 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-07-23 14:05:22 +10:00
Younes Manton
0c25ac5242 g3dvl: Add Nouveau winsys, libdriclient.
Nouveau winsys is based on Mesa's Nouveau winsys and soft-links to most of
it. The 'nouveau_context' and 'nouveau_screen' code contains most of the
changes, 'nouveau_winsys_pipe', 'nouveau_swapbuffers' and 'nouveau_lock'
contain some minor changes. The driclient library contains the DRI
userland stuff, most of which was based on Mesa's DRI code.
2008-07-22 22:41:31 -04:00
Younes Manton
90bd0e338d g3dvl: Add stubs for some XvMC functions.
Some of these may need to be implemented on the DDX side.
2008-07-22 22:41:30 -04: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
José Fonseca
ac25408c47 win32kprof: Convert tabs to spaces. 2008-07-22 09:45:33 +09:00
José Fonseca
1662be3764 win32kprof: Consider the section alignment when estimating the image base. 2008-07-22 09:45:32 +09:00
Zack Rusin
4d38d86b2c add edge detection to that example 2008-07-21 19:19:22 -04:00
Brian Paul
ec9c79a7dd mesa: initial support for GLSL struct/array comparisons 2008-07-21 17:18:22 -06:00
Brian Paul
c9a7ee2d00 mesa: added null ptr check (error handling case) 2008-07-21 16:04:56 -06:00
Brian Paul
5ba32b79d8 mesa: fix +=, -=, etc. operators 2008-07-21 16:04:24 -06:00
Jonathan White
467e6526a8 gallium: Temporary workaround for mismatched pipe create and pipe destroy 2008-07-21 15:34:38 -06:00
Brian Paul
7e8f79e39d mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p 2008-07-21 14:23:33 -06:00
Brian Paul
70d3928f63 mesa: fix some issues in _mesa_validate_program() 2008-07-21 14:16:07 -06:00
Brian Paul
fbf26e109b mesa: assorted glsl uniform/attribute fixes
Fix incorrect uniform/attribute size query results.
Add missing error checking for glUniform, glUniformMatrix params
Fix an array size/allocation error.
2008-07-21 13:58:50 -06:00
Pawel Pieczul
b993d539a7 965: Fix color clamping issues 2008-07-21 10:57:20 -07:00
Brian Paul
d8cbac5330 mesa: remove debug code 2008-07-21 10:25:02 -06:00
Brian Paul
77497eb73b mesa: revert building glslcompiler by default 2008-07-21 09:01:34 -06:00
Jakob Bornecrantz
1753ff9872 tgsi: Update Makefile to include tgsi_iterate.c 2008-07-21 14:38:57 +02:00
Ben Skeggs
a3616067fe nv50: add NV86 and NV94 to list of "supported" chips 2008-07-21 19:07:07 +10:00
Younes Manton
c243573faf g3dvl: Fix some memory leaks in the winsys. 2008-07-20 19:16:41 -04:00
Younes Manton
8878d8d4b3 g3dvl: Minor SP winsys cleanup. 2008-07-20 19:16:41 -04:00
Michal Krol
b3c8d0c348 tgsi: Parse source register extended swizzle. 2008-07-20 21:58:07 +02:00
Michal Krol
9d068d4b90 tgsi: Add support for branch instructions with target labels. 2008-07-20 21:38:20 +02:00
Michal Krol
25a7f422b4 tgsi: Warn if an indirect register not ADDR[0]. 2008-07-20 21:28:28 +02:00
Michal Krol
73e1d0be75 tgsi: Add support for indirect addressing in dump, sanity and text modules. 2008-07-20 21:23:04 +02:00
Michal Krol
613f0df64d tgsi: Remove redundant code. 2008-07-20 19:29:52 +02:00