Commit graph

28992 commits

Author SHA1 Message Date
Michal Krol
5754185d39 tgsi: Support system values in ureg. 2009-12-30 21:52:01 +01:00
Michal Krol
6481f40eec draw: Implement draw_arrays() in terms of draw_arrays_instanced(). 2009-12-30 18:54:04 +01:00
Michal Krol
230355648b sp: Generalise drawing code to remove dupes.
Also, avoid nested draw calls from simpler versions.
2009-12-30 18:41:05 +01:00
Michal Krol
bccdb239c7 sp: Implement draw_elements_instanced(). 2009-12-30 18:27:58 +01:00
Michal Krol
5007e39f76 Implement instanced indexed draw. 2009-12-30 18:26:40 +01:00
Michal Krol
76e53923ba translate: Fix a call to indexed SSE run. 2009-12-30 16:28:01 +01:00
Michal Krol
09c0287b84 translate: Implement instancing for linear SSE run. 2009-12-30 14:23:12 +01:00
Michal Krol
0f185cb027 rtasm: Add x86_div(). 2009-12-30 14:20:29 +01:00
Michal Krol
7ca0ce3834 Implement draw_arrays_instanced() in softpipe.
Modify the translate module to respect instance divisors and accept
instance id as a parameter to calculate input vertex offset.
2009-12-29 23:21:01 +01:00
Michal Krol
7124fa16ef translate: Fix translate_key_compare().
Sizes of translate keys must also match.
2009-12-29 22:49:31 +01:00
Michal Krol
f7d1689cfa gallium: Move instance_divisor field from vertex_buffer to vertex_element. 2009-12-29 19:18:54 +01:00
Michal Krol
d0b55120be gallium: Add interfaces needed for instanced drawing. 2009-12-23 19:37:18 +01:00
José Fonseca
b5a408bae5 llvmpipe: Install unit tests on build/xxx/bin 2009-12-23 16:38:50 +00:00
José Fonseca
88b2d8f796 util: Define common dynamic library extensions. 2009-12-23 16:38:50 +00:00
Keith Whitwell
b2a615e3cd glsl/pp: move static functions out of header file 2009-12-23 16:10:37 +00:00
Keith Whitwell
cdd25ab8cf glsl/pp: quieten compiler about missing case statements 2009-12-23 16:10:37 +00:00
Tomas Carnecky
cc7a2d8e64 i965g: Rename {pf->util_format}_is_depth_or_stencil() 2009-12-23 16:58:53 +01:00
Roland Scheidegger
faae0e5da3 rbug: rename pf_is_compressed to util_format_is_compressed 2009-12-23 16:57:46 +01:00
Tomas Carnecky
315ca95666 [i965] Rename {pf -> util}_format_is_depth_or_stencil()
The function was moved and renamed in 0bed834b.

Signed-off-by: Tomas Carnecky <tom@dbservice.com>
2009-12-23 15:40:20 +00:00
Vinson Lee
0f6cbc55b7 progs/tests: Fix build.
(cherry picked from commit 1bf2d78b11)
2009-12-22 23:30:23 -08:00
Eric Anholt
f677480389 intel: Replace some gen3 IS_* checks with context structure usage.
Shaves 400 bytes or so from i915_dri.so.
2009-12-22 14:20:27 -08:00
Eric Anholt
cb3810dd19 intel: Replace IS_965 checks with context structure usage.
Saves another 600 bytes or so of code.
2009-12-22 14:20:27 -08:00
Eric Anholt
0b87f143c4 intel: Replace IS_G4X() across the driver with context structure usage.
Saves ~2KB of code.
2009-12-22 14:20:26 -08:00
Eric Anholt
1c96e85c9d intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.
Saves ~480 bytes of code.
2009-12-22 14:20:26 -08:00
Eric Anholt
b08ed4f595 mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname);
Fixes piglit ati-fs-bad-delete.  Caught by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
fbeceec97b mesa: remove unnecessary store. 2009-12-22 14:20:26 -08:00
Eric Anholt
6260d4a14c mesa: Remove an unnecessary store reported by clang.
This was a workaround for a compiler warning that was showing a real
error.  The real error was later fixed.
2009-12-22 14:20:26 -08:00
Eric Anholt
d85a6f70eb intel: Fix leakage of active texture state in glBitmap fp metaops.
Noticed by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
e3202a8cc7 i915: Fix use of uninitialized variable in OPCODE_NOISE stub.
We don't actually care which register is used since we're just
swizzling (0,0,0,0), but it should be a valid variable number.
Detected by clang.
2009-12-22 14:20:26 -08:00
Eric Anholt
d203dbc73d mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage.
The same code is generated, and readers and static analyzers are
happier.
2009-12-22 14:20:26 -08:00
Eric Anholt
5727147f89 intel: Remove unused stored values reported by clang. 2009-12-22 14:20:26 -08:00
Eric Anholt
1a80fe461e mesa: Remove _mesa_exit wrapper for exit().
It does nothing else while being less useful than exit() because it lacks
attributes that real exit() has.
2009-12-22 14:20:26 -08:00
Brian Paul
ddd9729bc3 mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.
This is a little more logical.  Suggested in bug report 25654.
2009-12-22 14:26:06 -07:00
Brian Paul
db721151b7 mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction
To be more consistant.
2009-12-22 14:26:06 -07:00
Brian Paul
e8ea2d26cd mesa: added some assertions in BNGLOOP/ENDLOOP cases 2009-12-22 14:26:06 -07:00
Roland Scheidegger
d186079520 i965g: fix for edgeflag changes (untested) 2009-12-22 21:26:51 +01:00
Roland Scheidegger
35e8283c69 Merge branch 'gallium-edgeflags'
Conflicts:
	src/mesa/state_tracker/st_draw.c
2009-12-22 20:54:26 +01:00
José Fonseca
00b463fc30 scons: Set the default windows platform to be windows userspace.
I thought I had done this ages ago.
2009-12-22 19:03:56 +00:00
Michal Krol
79bb3da4d3 tgsi: Implement BREAKC in interpreter. 2009-12-22 16:11:40 +01:00
Keith Whitwell
f069e45750 i965g: fix bo_reference 2009-12-22 09:57:16 +00:00
Keith Whitwell
96d63ebbf5 i965g: update for u_format changes 2009-12-22 09:52:26 +00:00
Keith Whitwell
aa02683e45 Merge branch 'i965g-restart'
Conflicts:
	configure.ac
2009-12-22 09:40:39 +00:00
Christoph Bumiller
ebbc73d1ae nv50: correct the negation of DDY sources
The state tracker now does the correct thing, so
interpret negation normally.
2009-12-22 10:14:45 +01:00
Ian Romanick
71678a7ede intel: Replace release info in DRIVER_DATE with "DEVELOPMENT" 2009-12-21 18:46:17 -08:00
Ian Romanick
a4b6b42885 Merge branch 'mesa_7_7_branch'
Conflicts:
	src/mesa/main/version.h
2009-12-21 18:45:31 -08:00
Ian Romanick
82184970d3 Add MD5 checksums for 7.6.1 release 2009-12-21 18:43:09 -08:00
Ian Romanick
6ffed19993 Add MD5 checksums for 7.7 release 2009-12-21 18:30:35 -08:00
Ian Romanick
7e210b9337 mesa: set version string to 7.7 2009-12-21 18:28:32 -08:00
Ian Romanick
164b583852 intel: Bump driver date to reflect status as final Q4 driver RC 2009-12-21 18:27:50 -08:00
Ian Romanick
48302e9b30 Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
Conflicts:
	scons/gallium.py
	scons/generic.py
	src/mesa/main/version.h
2009-12-21 18:27:24 -08:00