Keith Whitwell
6c719d4c22
i965g: add DEBUG_WINSYS flag
2009-12-21 16:55:40 +00:00
Dave Airlie
753f0a1dea
r600: fix glFrontFace(GL_CW)
...
fd.o bug #25290
Suggested fix from Rafael Monica
2009-12-21 10:40:19 -05:00
Keith Whitwell
f217927a57
i965g: remove duplicate set_viewport_state, fixes samples/depth
2009-12-21 15:38:08 +00:00
Andre Maasikas
764899d7ab
r600: support more of arb_point_sprite and also sprite_coord_origin
2009-12-21 15:23:37 +02:00
Andre Maasikas
69728a2ae2
r600: disallow negative offsets for relative addressing for now
...
otherwise for example const[ADDR-3] gets us 253 - ALU_SRC_LITERAL which
expects immediate floats to follow and hangs
2009-12-21 15:23:27 +02:00
Michal Krol
3d3480abbc
vega: Add missing actual argument.
2009-12-21 11:58:17 +01:00
Younes Manton
ace937f165
st/mesa: Check for single level mipmap trees.
...
The assert in util_gen_mipmap() caught it, although
it does the right thing anyway.
2009-12-21 00:59:06 -05:00
Jeremy Huddleston
b96a5df514
darwin: mklib: Use lipo rather than file to figure out architectures of object files
...
(cherry picked from commit ad7f9d71e2 )
2009-12-20 21:36:41 -08:00
Jeremy Huddleston
f926eff263
darwin: Cleanup CPPFLAGS a bit
...
(cherry picked from commit 4a1e103858 )
2009-12-20 21:36:39 -08:00
Jeremy Huddleston
ad7f9d71e2
darwin: mklib: Use lipo rather than file to figure out architectures of object files
2009-12-20 21:34:27 -08:00
Jeremy Huddleston
4a1e103858
darwin: Cleanup CPPFLAGS a bit
2009-12-20 21:32:35 -08:00
Dave Airlie
393857a2f5
r600: fix glFrontFace(GL_CW)
...
fd.o bug #25290
Suggested fix from Rafael Monica
2009-12-21 10:21:28 +10:00
Corbin Simpson
32d737397c
r300g: Add a few more params.
2009-12-20 15:47:48 -08:00
Dave Airlie
55c43ee315
glsl: make stack compile.
...
it would be nice if this stuff would be test built on mesa's primary
platform with mesa's primary build system.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-12-21 09:10:21 +10:00
Dave Airlie
b065aec840
radeon/r600: use new libdrm_radeon api
2009-12-21 08:09:11 +10:00
Michal Krol
1071ad70f5
glsl/apps: Update after glsl cl interface changes.
2009-12-20 21:19:10 +01:00
Michal Krol
1cc9610f88
slang: Update after glsl cl interface changes.
2009-12-20 21:19:09 +01:00
Michal Krol
d801c296c6
glsl: Do syntax parsing inline with processing.
2009-12-20 21:19:07 +01:00
Michal Krol
5fb345c422
slang: Add gitignore for autogenerated files.
2009-12-20 21:19:06 +01:00
Michal Krol
ec73cd011d
slang: Update after glsl pp changes.
2009-12-20 21:19:05 +01:00
Michal Krol
9c15948125
glsl/apps: Update after glsl pp interface changes.
2009-12-20 21:19:03 +01:00
Michal Krol
e0f57a37b2
glsl/apps: Do not print number of eaten tokens in version.
...
This is due to the glsl pp interface changes.
2009-12-20 21:19:02 +01:00
Michal Krol
0874ce48a6
glsl/apps: Print error line number in compile.
2009-12-20 21:19:01 +01:00
Michal Krol
d696cb279d
glsl/pp: Do processing inline with tokenisation.
2009-12-20 21:18:59 +01:00
Michal Krol
7631dca25b
glsl/pp: Remove outdated TODO.
...
Already implemented in mesa compiler using predefined symbols.
2009-12-20 21:18:58 +01:00
Michal Krol
e9aa65d2b7
glsl/pp: Report correct error line for purify and tokeniser errors.
2009-12-20 21:18:57 +01:00
Christoph Bumiller
a6e663def4
util: util_format_get_blocksizebits() returns bits per block.
2009-12-20 19:09:35 +01:00
Christoph Bumiller
b3ac75f7eb
nv50: make address reg allocation a little less hacky
...
Before I tried to distinguish int +0 and -0, and regs
relative to $a1 would have been considered reserved
for TGSI.
This would probably never occur, let it be fixed even so.
2009-12-20 14:15:51 +01:00
Christoph Bumiller
2ed083dda9
nv50: use BREAKADDR and BREAK for loops
...
This is easier, we don't have to record all the BRK branches
to fill in the address at ENDLOOP - which wasn't done before
and thus made all but the last BRK branch jump to the start.
Also, we don't risk reactivting threads that already left
the loop if we join threads after a conditional with a BRK
(although it might be wiser to remove the join altogether
in such cases).
2009-12-20 14:15:51 +01:00
Christoph Bumiller
3c7f109d67
nv50: handle TGSI_OPCODE_RET,KILP
2009-12-20 14:15:51 +01:00
Vinson Lee
0dd9513874
progs/tests: Silence compiler warnings.
2009-12-20 01:01:00 -08:00
Marek Olšák
6ba83cd63f
r300g: add texture compare modes
2009-12-19 23:54:53 -08:00
Roland Scheidegger
420ff89067
gallium: don't use edgeflags if the app didn't supply them
2009-12-19 20:25:43 +01:00
Roland Scheidegger
1aba413a70
gallium: fix not generating new vp varient when polygon mode changes
2009-12-19 17:12:14 +01:00
Maciej Cencora
4b6dee0865
r300: minor blit rework
...
Use vert/tex coords instead of byte offsets for specyfing src/dst image offsets.
This will allow for blitting between tiled/untiled buffers.
2009-12-19 14:43:08 +01:00
Maciej Cencora
a1428868a6
r300: better fix for glCopyTexSubImage
2009-12-19 14:43:08 +01:00
Vinson Lee
d87d71036c
progs/trivial: Use C-style comments.
2009-12-19 00:28:01 -08:00
Vinson Lee
3340fd65fb
progs/xdemos: Use C-style comment.
2009-12-19 00:00:56 -08:00
Vinson Lee
695adf41e2
progs/demos: Silence compiler warning in morph3d.c.
2009-12-18 23:46:14 -08:00
Vinson Lee
121ff55d81
progs/glsl: Use C-style comments.
2009-12-18 23:38:15 -08:00
Vinson Lee
41377942d3
progs/demos: Use C-style comment.
2009-12-18 23:34:28 -08:00
Corbin Simpson
759fd1f25f
r300g: Fix provoking vertex for non-quads.
...
Read the comments. In short, we can't possibly pass piglit's
glean/clipFlat without some help from Gallium and an API/spec change.
2009-12-18 21:50:45 -08:00
Corbin Simpson
f13a904c34
r300g: Respect provoking vertex for trifans.
...
Fixes part of piglit's clipFlat test; next up is to get quads right.
2009-12-18 19:49:14 -08:00
Roland Scheidegger
429f0e3b37
gallium: fix up drivers for edgeflag changes
...
several drivers which chose to ignore edgeflags might require some more work,
while edgeflags never worked there they might now crash.
2009-12-19 00:18:43 +01:00
Roland Scheidegger
ff5b0c72db
gallium: store edgflag info in tgsi_shader_info
...
provides easier access for drivers which may base fallback decision on this
2009-12-18 23:53:25 +01:00
Corbin Simpson
bf611cef29
r300g: Eliminate a couple more asserts.
2009-12-18 14:07:12 -08:00
Corbin Simpson
62afcbb233
r300g: Nuke r300_vbo.
2009-12-18 14:07:12 -08:00
Brian Paul
263f4322e7
progs/demos: fix glut initialization calls
...
Remove glutInitWindowPosition() calls to play nicer with window managers.
Move glutInitWindowSize() calls before glutInit() so the the default window
size can be overridden by the -geometry cmd line option.
2009-12-18 13:58:14 -07:00
Brian Paul
0478b745fe
glsl: clear out shader code before compiling
...
When we start compiling a shader, first free the existing gl_program.
This (mostly) fixes the piglit glsl-reload-source test.
Without this change, we were actually appending the new GPU code
onto the previous program.
2009-12-18 11:57:17 -07:00
Alex Deucher
c8de081dc1
radeon: protect fbo allocation message with debug
...
fixes fdo bug 25708
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-18 10:57:37 -05:00