Patrice Mandin
114417a2f5
nouveau: nv40: Use same workaround as i915 for segfault related to vbo
16 years ago
Patrice Mandin
66aab9a1f6
nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will never be use for front buffer.
16 years ago
Patrice Mandin
67356ae047
nouveau: nv30: Use same workaround as i915 for segfault related to vbo
16 years ago
José Fonseca
5d42e3988d
util: Rename from u_* to util_* while we're at it.
To be consistent with the rest.
16 years ago
Chris Wilson
60a39b6799
intel: Disallow relocations to the byte beyond the end of the buffer
16 years ago
Brian Paul
a335d334d4
mesa: fix/update some comments
16 years ago
Brian Paul
f094b86bb5
mesa: lift default symlinks target into Makefile.template
Driver Makefiles can still add symlink dependencies/rules if needed.
16 years ago
Brian Paul
db2046580f
mesa: use EXTRA_MODULES and SUBDIRS to build r300 compiler
This is a bit cleaner and avoids rebuilding the r300_dri.so library all
the time.
16 years ago
Brian Paul
d9fd207133
mesa: added SUBDIRS support in dri/Makefile.template
16 years ago
Brian Paul
f0503726bf
mesa: move a comma
16 years ago
Brian Paul
2ee7fd8d58
mesa: added MESA_GLSL=useprog debug flag
This logs glUseProgram() calls to stderr.
16 years ago
Maciej Cencora
3594b53c01
r300: fix vertex program parameters limits
16 years ago
Corbin Simpson
3e56bef5a5
radeon-gallium: Use debug_get_bool_option instead of getenv.
16 years ago
Corbin Simpson
fc8a156cfc
r300g: Use a hash table to look up vertex info.
Need to move rs_block to this, too.
Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta
re-re-examine PSC and friends. :C
16 years ago
Corbin Simpson
3924d86115
util: Change function names to begin with u_.
Avoids link-time clashes with Mesa's internal hash table.
16 years ago
Brian Paul
946bc9aa42
docs: document GLSL float parsing bug fix
16 years ago
Brian Paul
89b31c9619
mesa: use C locale for _mesa_strtod()
_mesa_strtod() is used for shader/program parsing where the decimal
point character is always '.' Use strtod_l() with a "C" locale to
ensure correct string->double conversion when the actual locale uses
another character such as ',' for the decimal point.
Fixes bug 24531.
16 years ago
José Fonseca
166957abeb
progs/tests: Use rand() instead of random().
Forgot these on previous commit.
16 years ago
José Fonseca
699260b195
progs/tests: Use rand() instead of random().
More portable. Same implementation on Linux.
16 years ago
Vinson Lee
60b6c74583
prog/tests: Fix MSVC build.
16 years ago
Corbin Simpson
e4f21be13a
r300g: Set logical ID for each emitted texture/sampler.
multitexarray works on my r300, but texrect doesn't.
16 years ago
Patrice Mandin
a5a05fd782
nouveau: nv30: Hack to enforce same number of bits as front buffer, for render targets
16 years ago
Patrice Mandin
13580aa3d1
nouveau: nv30: refuse binding a colour buffer with a zeta buffer with different bits, till the backend can tell Mesa not to do that.
16 years ago
Zack Rusin
108273c5ed
st/xorg: refix source over
16 years ago
Brian Paul
5b7d9053a0
progs/egl: put declarations before code
16 years ago
Chia-I Wu
6c21c8862b
egl: Rework the synchronization primitives.
This adds error checking to the synchronization primitives. And
eglWaitGL is now implemented by eglWaitClient.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
57da499d7b
egl: Rework eglSwapInterval.
This adds error checking to eglSwapInterval and clamps the swap
interval.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
bbfd0e2615
egl: Rework error checking in eglSwapBuffers.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
aaa1253b09
egl: Update comments about eglapi.c.
Mention that opaque handles are looked up and checked.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
6190663120
egl: Rework error checking in eglGetCurrentSurface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
8bb2485ed0
egl: Include GL header in eglconfigutil.h.
This is just a cosmetic change.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
29d115092e
egl: Fix GLX_USE_TLS build.
Remove an extraneous semicolon.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Chia-I Wu
2fc1614e7a
egl: Fix eglCheckConfigHandle.
A stupid bug by me made the check void.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
Owen Taylor
3f30b0709b
Use the right pitch when rendering to a texture
We need to get the pitch from the texture level we are rendering to,
rather than just using the base texel width.
16 years ago
Robert Noland
16c6a3b71e
r600: FRAG_ATTRIB_WPOS and FRAG_ATTRIB_FOGC appear to be supported.
Report unsupported attributes while I'm here.
Signed-off-by: Robert Noland <rnoland@2hip.net>
16 years ago
Robert Noland
a176b1c5d8
r600: cleanup in r600_cs_process_relocs().
Signed-off-by: Robert Noland <rnoland@2hip.net>
16 years ago
Robert Noland
e5d6450c2c
radeon: return EINVAL for 0 length buffers.
Signed-off-by: Robert Noland <rnoland@2hip.net>
16 years ago
Andre Maasikas
22a0029a68
r600: fix tfp1 bo size
Setting the wrong bo size resulting in an incomplete
read cache flush when reading the texture. This fixes the
compiz text corruption.
[agd5f: take hw pitch alignment into account]
16 years ago
Andre Maasikas
a3fec14101
r600: implement ProgramStringNotify
need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...
16 years ago
Andre Maasikas
606becc7f3
r600: LIT dst.y gets value from src.x
seems I overlooked this when removing hardcoded swizzles for this
one previously
16 years ago
Andre Maasikas
74c31e5d05
r600: DPH adds w comp of second operand, so set first one to 1 instead
16 years ago
Andre Maasikas
95851d8cb2
r600: fixup KIL instruction a bit
- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
does not hang the card
16 years ago
Andre Maasikas
bf68e54a4d
r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color mask
makes blend functions work better
Signed-off-by: Dave Airlie <airlied@linux.ie>
16 years ago
Andre Maasikas
5101215a64
r600: user correct alpha blend factor
Signed-off-by: Dave Airlie <airlied@linux.ie>
16 years ago
Andre Maasikas
f7285bdffc
r600: clear position enable bit when when wpos is not used by FP
Makes doom3 alot nicer..
16 years ago
Brian Paul
6f8b4d9e36
mesa: regenerated lex.yy.c w/ _mesa_strtod()
16 years ago
Neil Roberts
269f16cd96
mesa: Use _mesa_strtod in the lexer for assembly shaders
See bug 24531.
16 years ago
Brian Paul
31f7e8efb2
progs/Makefile: remove extra quoting
This reverts part of commit 115edf24a9 and
fixes the error: "/bin/sh: line 0: test: too many arguments".
16 years ago
Jakob Bornecrantz
72fd1cf292
trace: Handle transfer returning null
16 years ago
Zack Rusin
074e069910
st/xorg: fix most of the composition modes
16 years ago