Brian Paul
cb3cb96fbd
meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmap
...
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06 18:20:17 -07:00
Brian Paul
06970b2ccb
meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap
...
This fixes mipmap levels being clipped to the last viewport.
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06 18:20:17 -07:00
Brian Paul
baeb3a2351
llvmpipe: checkpoint commit of new if/else/endif flow control
...
Totally untested at this point. More work to do.
2010-01-06 17:53:12 -07:00
Andre Maasikas
49653c01e8
r600: adjust after radeon mipmap changes in 7118db8700
...
R600_OUT_BATCH_RELOC doesn't really use offset so set it
in TEX_RESOURCE2
+ typo fix
2010-01-06 19:52:24 -05:00
Brian Paul
8485811f10
tnl: set FOGC result to (f,0,0,1)
...
Fixed FDO bug 23397.
2010-01-06 17:43:56 -07:00
Vinson Lee
4c45810d57
progs/xdemos: Remove comma at end of enumerator list.
2010-01-06 15:35:18 -08:00
Vinson Lee
96a4e4552d
progs/xdemos: Use temporary variables.
...
This was missed from the previous commit to glxheads.c.
2010-01-06 15:33:13 -08:00
Vinson Lee
c1dad22d71
progs/glsl: Prevent possible string overflow.
2010-01-06 15:25:42 -08:00
Vinson Lee
f4952f040b
progs/xdemos: Prevent possible string overflow.
2010-01-06 14:56:43 -08:00
Brian Paul
db7f9b053b
llvmpipe: more comments in flow builder code
2010-01-06 14:11:54 -07:00
Marek Olšák
6f498a7eff
r300g: add back-face color VS outputs
...
Required for two-sided lighting. BTW we are approaching softpipe-level
quality. ;)
2010-01-06 12:49:16 -08:00
Marek Olšák
7679ac2caa
r300g: fix SWTCL stream locations of texture coordinates
...
It might have caused hardlocks when TCL was bypassed, not sure.
2010-01-06 12:49:15 -08:00
Marek Olšák
1a4f242be6
r300g: if no DS buffer is set, disable reading from and writing to it
...
It fixes another "Bad CS" issue.
2010-01-06 12:49:15 -08:00
Marek Olšák
26f67a272b
r300g: disable the rasterization of WPOS if it's unused by the FS
2010-01-06 12:49:15 -08:00
Marek Olšák
bf60eb3fec
r300g: add WPOS
2010-01-06 12:49:15 -08:00
Marek Olšák
dc7f309f9c
r300/compiler: add full viewport transformation support in WPOS codegen
2010-01-06 12:49:15 -08:00
Marek Olšák
ddfc4e31ad
r300g: consolidate params
2010-01-06 12:49:15 -08:00
Marek Olšák
e78648db0a
r300g: fix outputting depth in the FS
2010-01-06 12:49:15 -08:00
Marek Olšák
7c902b43d8
r300g: optimize blending by conditionally disabling reads from the colorbuffer
2010-01-06 12:49:15 -08:00
Marek Olšák
6b9b3213c5
r300g: optimize blending by discarding pixels that don't change the colorbuffer
...
Let's get some performance out of the blender.
2010-01-06 12:49:14 -08:00
Marek Olšák
717c28055a
r300g: fix blending when SRC_ALPHA_SATURATE is used
2010-01-06 12:49:14 -08:00
Marek Olšák
a6d91a141f
util/blitter: allow NULL CSOs to be saved
2010-01-06 12:49:14 -08:00
Keith Whitwell
8e559e05a8
softpipe: fix draw return value
2010-01-06 18:05:08 +00:00
Pierre Ossman
c9befda13a
r600: float texture component ordering
...
The ordering of texture components was
backwards for the floating point textures.
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
2010-01-06 12:42:49 -05:00
Brian Paul
60f5608bd7
r300g: add missing is_anistropic param
2010-01-06 10:36:51 -07:00
Brian Paul
4e8d67af57
llvmpipe: flow-control comments
2010-01-06 10:16:34 -07:00
Keith Whitwell
b08583da46
llvmpipe: fix double free
2010-01-06 17:13:37 +00:00
Keith Whitwell
601969c587
llvmpipe: rename some functions
2010-01-06 17:13:28 +00:00
Keith Whitwell
c9240c4c8f
llvmpipe: remove dead code
2010-01-06 17:00:26 +00:00
Keith Whitwell
72120292b9
llvmpipe: restrict header visibility
2010-01-06 16:56:28 +00:00
Brian Paul
d8331aaf5b
svga: make texture_target a ubyte, not a bitfield
...
gcc won't let us take the address of a bitfield in the svga_fs_key_size()
function.
2010-01-06 09:54:36 -07:00
Roel Kluin
324568f79d
mesa: test index bounds before array element
...
Check whether the index is within bounds before accessing the array.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06 09:47:37 -07:00
Roel Kluin
5db710a823
win32_menu: add missing parentheses in mapMenu()
...
`|' has higher precedence than `?'.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06 09:46:55 -07:00
Roel Kluin
2b4acd26b1
nv50: add missing parentheses in nv50_query_result()
...
NOUVEAU_BO_RD is defined (1 << 2), and `|' has higher precedence than `?'
so the second argument of nouveau_bo_map was always 0.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06 09:46:53 -07:00
Keith Whitwell
5ce0380a0f
llvmpipe: merge setup and draw vbuf submodules
...
The setup tiling engine is now plugged directly into the draw module
as a rendering backend.
Removed a couple of layering violations such that the setup code no
longer reaches out into the surrounding llvmpipe state or context.
2010-01-06 16:44:43 +00:00
Brian Paul
439b34c9dd
gallium/docs: finish up description of pipe_rasterizer_state fields
2010-01-06 09:42:53 -07:00
Brian Paul
251363e8f1
configs: set INTEL_LIBS, INTEL_CFLAGS, etc
2010-01-06 08:22:11 -07:00
Michal Krol
ace932450c
util: Fix format descriptor table entries.
2010-01-06 16:11:28 +01:00
Michal Krol
4e014c0a14
pipe_sampler_state::compare_mode is not a boolean enable flag.
...
It's a 1-bit enum.
2010-01-06 16:11:26 +01:00
Michal Krol
4fd566ea31
util: Handle the remaining format cases in pipe_tile_raw_to_rgba().
2010-01-06 16:11:24 +01:00
Michal Krol
955f51270b
Make sure we use only signed/unsigned ints with bitfields.
...
Seems to be the only way to stay fully portable.
2010-01-06 16:11:21 +01:00
Jakob Bornecrantz
de37a00d27
util: Add u_bitmask to make build
2010-01-06 15:32:42 +01:00
Brian Paul
e4b7d9ea35
i965: fix invalid assertion in emit_xpd(), again
2010-01-06 07:18:09 -07:00
Brian Paul
1b5476a353
i965g: fix invalid assertion in emit_xpd(), again
2010-01-06 07:18:04 -07:00
José Fonseca
e32487b8a1
Merge remote branch 'origin/mesa_7_7_branch'
...
Conflicts:
configs/default
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/mesa/main/version.h
2010-01-06 13:52:22 +00:00
José Fonseca
aaf7ecfd81
glew: Update to version 1.5.2.
2010-01-06 12:23:37 +00:00
José Fonseca
5b64d94390
pipebuffer: Multi-threading fixes for fencing.
...
I had this patch on my hard drive for long time. It doesn't fully
address SVGA multi-threading issues, but causes no regressions, so decided
to commit while it still applies cleanly.
Attention: merging this into master will cause issues due to recent
changes in reference counting to fix strict aliasing rules violation.
2010-01-06 12:18:16 +00:00
Luca Barbieri
f023473748
gallium: remove PIPE_TEX_FILTER_ANISO
...
This patch removes PIPE_TEX_FILTER_ANISO.
Anisotropic filtering is enabled if and only if max_anisotropy > 1.0.
Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be
considered equivalent, and meaning to turn off anisotropic filtering.
This approach has the small drawback of eliminating the possibility of
enabling anisotropic filter on either minification or magnification
separately, which Radeon hardware seems to support, is currently
support by Gallium but not exposed to OpenGL. If this is actually
useful it could be handled by splitting max_anisotropy in two values
and adding an appropriate OpenGL extension.
NOTE: some fiddling & reformatting by keithw to get this patch to
apply. Hopefully nothing broken in the process.
2010-01-06 10:35:47 +00:00
Brian Paul
a6975507ad
docs: added more GL3 items
2010-01-05 21:25:56 -07:00
Brian Paul
d4f2d6556e
mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queries
...
New in GL 3.0.
2010-01-05 21:24:48 -07:00