Corbin Simpson
40faedfe7b
targets, radeong: Add Galahad.
...
Currently unconditional and causes segfaults.
2010-06-22 22:49:13 -07:00
Corbin Simpson
2560978588
configure: Add galahad to default build.
2010-06-22 22:49:13 -07:00
Corbin Simpson
d3ad6fa579
gallium/drivers: Create Galahad from identity.
...
Galahad is a sanity-checking layer meant to replace the crufty and
scattered sanity checks inside drivers with a robust, non-silenceable,
useful set of warnings and errors that can be used to keep misbehaving
state trackers from going unnoticed.
2010-06-22 22:49:13 -07:00
Brian Paul
61ec205816
mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv()
...
This is a follow-on to commit 80dfec3e53 .
The valid attachments for glGetFramebufferAttachmentParameteriv() depends
on whether we're querying the default FBO or a user-created FBO.
2010-06-22 21:55:51 -06:00
Marek Olšák
a20fa67448
r300/compiler: allow 1024 instructions in r5xx vertex shaders
2010-06-23 03:58:46 +02:00
Marek Olšák
dd90c3040e
r300/compiler: allow 32 temporaries in vertex shaders
2010-06-23 03:57:27 +02:00
Marek Olšák
2f6b4187eb
r300/compiler: emulate loops in vertex shaders
...
It is not perfect, but it is the best we got.
2010-06-23 03:55:20 +02:00
Jakob Bornecrantz
23a915e2cf
gallium: Drop sw drm winsys
...
Last user went away
2010-06-23 03:43:52 +02:00
Jakob Bornecrantz
41e0f6bc2f
i965g: Move bootstrap code to targets
2010-06-23 03:43:48 +02:00
Jakob Bornecrantz
0106be903a
i965g: Rename winsys file
2010-06-23 03:20:45 +02:00
Jakob Bornecrantz
2b15e37348
i965g: Moved pci_id to winsys struct
2010-06-23 03:20:45 +02:00
Jakob Bornecrantz
bd739e9576
target-helpers: Add inline helpers
2010-06-23 03:20:40 +02:00
Eric Anholt
53cdb7e51d
ir_validate: New pass for checking our invariants.
2010-06-22 18:18:30 -07:00
Eric Anholt
e46a454305
ir: Give ir_instruction a print visitor helper.
...
This avoids spamming each file with includes of ir_print_visitor.h
because someone was doing debugging at some point, and is less typing
when doing debugging.
2010-06-22 18:18:30 -07:00
Eric Anholt
216580dbd7
Hook up texturing in the hierarchical visitor.
2010-06-22 18:18:30 -07:00
Marek Olšák
cbd33e7d3a
mesa: fix assertion failure for GL_ALPHA FBOs
2010-06-23 01:39:26 +02:00
Marek Olšák
9ed7325848
r300g: attempt to fix texture corruption on RV505
2010-06-23 01:35:11 +02:00
Marek Olšák
d84bf6d44d
r300g: index buffer range checking
2010-06-23 00:20:11 +02:00
Jakob Bornecrantz
e130f524a9
i915g: Revert debug hunks from last commit
2010-06-22 22:55:13 +02:00
Eric Anholt
ac95f2f8c8
Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL.
2010-06-22 12:30:55 -07:00
Ian Romanick
b302359394
Add missing build products to gitignore
2010-06-22 12:24:42 -07:00
Jakob Bornecrantz
ca43b6ec9d
i915g: Reduce state emission by using a index bias
2010-06-22 20:04:56 +02:00
Jakob Bornecrantz
255d4f24e0
i915g: Drop fifo code in vbuf
2010-06-22 20:04:56 +02:00
Jakob Bornecrantz
4dd742cec3
i915g: Change state code in vbuf code
2010-06-22 20:04:56 +02:00
Jakob Bornecrantz
abbb1bde06
i915g: Rework debug print code
2010-06-22 20:04:55 +02:00
Jakob Bornecrantz
e694f3fd48
i915g: Switch to state atoms
2010-06-22 20:04:55 +02:00
Jakob Bornecrantz
ed675bb460
i915g: i915_state_sampler.c code style
2010-06-22 20:04:55 +02:00
Jakob Bornecrantz
2e7a90546d
i915g: i915_state_immediate.c code style
2010-06-22 20:04:55 +02:00
Jakob Bornecrantz
f93e378bfb
i915g: i915_state_dynamic.c code style
2010-06-22 20:04:55 +02:00
Jakob Bornecrantz
7dce4f3c27
i915g: Create seperate option for i915g and i965g
2010-06-22 20:04:54 +02:00
Jakob Bornecrantz
ed3d17e14c
u_math: Add align function npot alignments
2010-06-22 20:04:54 +02:00
Jakob Bornecrantz
3a3e80ff96
llvmpipe: Ignores
2010-06-22 20:04:32 +02:00
Zack Rusin
b5e381d978
llvmpipe: make geometry shaders and stream output work
2010-06-22 12:58:04 -04:00
Zack Rusin
e433b73dd2
gallium: add a timestamp disjoint query
...
allows application to not only request the frequency of the TIME_ELAPSED
clock but also to detect if that frequency was consistent throughout the
entire bracketed range of graphics commands.
2010-06-22 12:58:04 -04:00
Zack Rusin
b6c360b46c
gallium: add a new query
...
to figure out if gpu is finished with all of the previously issues commands
2010-06-22 12:58:04 -04:00
Roland Scheidegger
583f241716
st/mesa: remove bogus assertions st_CompressedTexSubImage2D
...
width/height may not be a multiple of blocksize (small mip levels / npot
textures). This should be handled just fine.
Fixes #28530 .
2010-06-22 13:32:25 +01:00
Marek Olšák
eb7ef433bb
r300g: optimize the immediate mode emission path a bit
2010-06-22 06:50:23 +02:00
Marek Olšák
bd52246248
r300g: do not emit ZTOP every draw call
2010-06-22 06:50:22 +02:00
Tim Evans
64e32ffb6e
swrast: fix incorrect specular highlights on backfaces
...
See bug 28577 for details.
NOTE: this is a candidate for the 7.8 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-06-21 17:19:59 -06:00
Brian Paul
b875c02668
docs: add link to 7.9 relnotes
2010-06-21 17:19:59 -06:00
Marek Olšák
59df6725af
r300g: fix crash when destroying the context on r3xx-r4xx
...
FDO bug #28652 ,
2010-06-21 23:46:38 +02:00
Kenneth Graunke
1b85c46bcf
glcpp: Initialize error state.
2010-06-21 13:55:12 -07:00
Kenneth Graunke
332fc47dc0
glcpp: Accept #elif without an expression if the expression doesn't matter.
...
Issue a warning. nVidia's compiler seems to accept this; apparently
GCC < 4.4 did as well: http://gcc.gnu.org/gcc-4.4/porting_to.html
2010-06-21 12:41:05 -07:00
Kenneth Graunke
74704e80c6
glcpp: Print to the main compiler's infolog, not stdout.
2010-06-21 12:41:05 -07:00
Kenneth Graunke
4a2bbdacfc
Use yy_scan_string and stop caring about shader->SourceLen.
...
We had to call strlen on the preprocessed source, which seemed a bit
pointless; also, we updated shader->SourceLen but not shader->Source,
which was even more confusing. Just leave both untouched.
2010-06-21 12:41:05 -07:00
Kenneth Graunke
26e761edb2
glcpp: Rework handling of "defined" operator.
...
It's now done in the grammar, and as a result, can easily handle
parenthesis. defined ( identifier ) is now supported.
Fixes glcpp/tests/065-if-defined-parens.c.
2010-06-21 12:41:05 -07:00
Kenneth Graunke
bac0e371e3
glcpp/tests: Add a test for #if defined (identifier)
...
Previously we only tested #if defined identifier (without parenthesis).
2010-06-21 12:41:05 -07:00
Kenneth Graunke
6587574354
glcpp: Ignore junk tokens at end of #ifdef/#ifndef (with warning)
...
Both nVidia's compiler and GCC accept this.
Fixes CorrectPreprocess11.frag.
2010-06-21 12:41:05 -07:00
Kenneth Graunke
c9529c4d77
glcpp: Add glcpp_warning for printing warnings to the info log.
2010-06-21 12:41:05 -07:00
Kenneth Graunke
62b4b7785a
glcpp: Add boolean 'error' flag.
...
We used to check if the info log is non-empty, but when we print
warnings, this will no longer be valid.
2010-06-21 12:39:49 -07:00