Eric Anholt
073f8d1c00
i965: Correct copy and wasted field shifts for SNB GS URB.
2010-03-22 15:04:46 -07:00
Eric Anholt
edc8a99d1d
i965: Enable VS on SNB.
...
It appears that the thing that was killing VS threads was the
gratuitous NOP that replaced the gratuitous jump from OPCODE_END to
the nearby OPCODE_END implementation. With that gone, we can move on
to the rest of the pipeline.
2010-03-22 15:04:46 -07:00
Eric Anholt
d163d5fac0
i965: Remove gratuitous jump or nop from OPCODE_END to vertex emit.
...
Just emit the URB write at END time. Subroutine code that sits after
OPCODE_END won't be executed since we've ended the thread at the point
that the URB write is done.
2010-03-22 15:04:46 -07:00
Eric Anholt
a9acde6a72
i965: Ignore execution mask for the mov(m0, g0) of VS URB write header on SNB.
...
Otherwise, we may not get the FFTID set up which would break freeing
of resources.
2010-03-22 15:04:46 -07:00
Eric Anholt
4fc5732225
i965: Allow FS constants to be used as immediates instead of push/pull.
...
The hope is to later take advantage of the reduced constant usage to
free up regs. This only covers the GLSL path at the moment, because
the brw_wm_emit path doesn't get the information as to whether a float
value is a constant or a uniform.
2010-03-22 15:04:46 -07:00
Eric Anholt
864f2bd61d
i965: Add INTEL_DEBUG=glsl_force to force brw_wm_glsl.c.
...
I keep finding the desire to force this path to debug it instead of
cooking up goofy-looking testcases to do so.
2010-03-22 15:04:46 -07:00
Eric Anholt
8a998342c6
i965: Optimize OPCODE_CMP by using BRW_SEL to choose results.
...
Tested with piglit glsl-fs-sqrt-branch, fp-cmp.vpfp.
2010-03-22 15:04:46 -07:00
Brian Paul
ef2664da6c
st/glx: fix depth/stencil format selection code
...
This fixes a pretty big performance regression caused by commit
3475e88442
.
When the user does not request a stencil buffer it's important that we
don't use a depth/stencil format (or at least make it our last choice).
If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined
depth/stencil buffer, that causes us to hit the clear_with_quad() path
which can be much, much slower than calling pipe_context::clear().
Also, try to use a shallower depth format before a deeper one.
2010-03-22 16:01:15 -06:00
Brian Paul
af0b0e1172
st/mesa: rename st_framebuffer() to st_ws_framebuffer()
...
Be clear that this function is not just a cast wrapper.
2010-03-22 16:01:15 -06:00
Kristian Høgsberg
62d54f0387
intel: Call intel_prepare_render() before looking up regions.
...
Fixes #27213 .
2010-03-22 17:59:04 -04:00
Kristian Høgsberg
6422cf387b
intel: Call intel_prepare_render() before looking up regions.
...
Fixes #27213 .
2010-03-22 17:55:05 -04:00
Vinson Lee
262961ef69
st/mesa: Remove unnecessary headers.
2010-03-22 13:02:09 -07:00
Brian Paul
f42acbeebf
glslcompiler: fix build again
...
Simply use the libglapi.a archive instead of individual .o files.
Fixes the non-debug build.
2010-03-22 13:36:30 -06:00
Vinson Lee
45d1dc2607
cso: Remove unnecessary header.
2010-03-22 11:34:18 -07:00
Karl Schultz
092ca30366
Fix potential compilation issue in visual studio project file
...
Add quotes around filespec in post-build event to allow paths
with embedded spaces.
2010-03-22 12:18:02 -06:00
Francisco Jerez
fc14fb9d1a
dri/nouveau: Rectangle texture fixes.
2010-03-22 18:41:23 +01:00
Francisco Jerez
bfdea90f25
dri/nouveau: Some render to texture fixes.
2010-03-22 18:41:23 +01:00
Francisco Jerez
199fab25b7
dri/nouveau: Fix swrast fallbacks when the read and draw buffers aren't the same.
2010-03-22 18:41:23 +01:00
Francisco Jerez
fe7d0e6dc8
dri/nouveau: Expose EXT_framebuffer_blit.
2010-03-22 18:41:22 +01:00
Francisco Jerez
fc7890dc6c
dri/nouveau: Plug in some mesa_meta functions instead of the swrast variants.
2010-03-22 18:41:22 +01:00
Francisco Jerez
c695e80017
dri/nouveau: Emit dirty states on nouveau_validate_framebuffer.
...
Fixes broken intermediate frames when a window is being resized
(regression caused by 878eef8c4
).
2010-03-22 18:41:22 +01:00
Luca Barbieri
4e3b950c70
nvfx: fix sampler views support
...
The code was half converted, resulting in texturing being totally broken.
2010-03-22 18:36:16 +01:00
Brian Paul
98b4e7aee8
glslcompiler: fix build breakage
2010-03-22 09:08:09 -06:00
Brian Paul
182c42c8da
Merge branch '7.8'
...
Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-22 09:07:46 -06:00
Brian Paul
ca97f8b9ba
glslcompiler: fix build breakage
2010-03-22 09:00:13 -06:00
Brian Paul
5cb4a3524b
mesa: remove return, do as the comment says
2010-03-22 08:23:14 -06:00
Pauli Nieminen
361e8e9118
mesa: Add end of line to the end of a debug output.
2010-03-22 15:16:02 +02:00
Chia-I Wu
904d129322
docs: Update the path to build libgl-xlib.
2010-03-22 13:32:08 +08:00
Vinson Lee
fce72d5803
progs/tests: Add cva_huge to SCons build.
2010-03-21 19:21:11 -07:00
Vinson Lee
1e7d65bb5b
progs/tests: Include stddef.h for ptrdiff_t on all platforms.
...
stddef.h is the standard C header that defines ptrdiff_t.
Fixes build of cva_huge on Mac OS X.
2010-03-21 19:09:54 -07:00
Pauli Nieminen
4ea694a26b
r200: Fix emit size prediction to account elt splitting.
...
Emit sizes prediction didn't account for render splitting in
hwtnl path.
2010-03-21 23:39:55 +02:00
Pauli Nieminen
0900544fb5
r200: Don't flush when closing elts in KMS.
...
Flush in middle of rendering in KMS is not allowed because
buffers are discarded in flush.
Fixes crash when emiting split indices with RADEON_DEBUG=all.
2010-03-21 23:39:53 +02:00
Marek Olšák
9fc6c8b831
r300g: disable tiling for YUV formats
2010-03-21 22:17:14 +01:00
Marek Olšák
8bf9842fac
r300g: fix scons build
2010-03-21 22:05:27 +01:00
Marek Olšák
7733bac66c
r300g: accelerate blitting for all 64-bit texture formats
2010-03-21 21:54:07 +01:00
Marek Olšák
12dc497173
r300g: add and enable square microtiling
...
It requires DRM 2.1.0 (e.g. kernel 2.6.34) and is disabled on older ones.
Finally, the texture tiling implementation is now complete. Uff.
2010-03-21 21:54:07 +01:00
Marek Olšák
33d2349119
r300g: cleanup tiling flags propagation
2010-03-21 21:54:06 +01:00
Marek Olšák
d0d3abd360
r300g: put common defines into one file
2010-03-21 21:54:06 +01:00
Marek Olšák
bc5778e202
r300g: remove unused code
2010-03-21 21:54:02 +01:00
Pauli Nieminen
1968d8f31d
r200: Fix swtnl fallback to flush pending rendering before transition.
...
Flush after transition would emit wrong state that could cause
wrong state emited for pending rendering operation.
Fixes wan once from extrement tuxracer that is using per vertex
materials.
2010-03-21 20:27:49 +02:00
Pauli Nieminen
44e3ec3c05
r200: Fix mixed indetion in r200TclFallback.
2010-03-21 20:27:44 +02:00
George Sapountzis
a0ce955764
Revert "drm/sw: does not need sw_winsys"
...
This reverts commit 97a694e221
.
2010-03-21 19:36:28 +02:00
George Sapountzis
15c7fa460b
Revert "gallium: add soft screen helper"
...
This reverts commit f87a5f6499
.
2010-03-21 19:33:17 +02:00
George Sapountzis
f9c0cbd1ad
Revert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"
...
This reverts commit 5d524cce9c
.
2010-03-21 19:33:09 +02:00
George Sapountzis
63aa8a39c4
Revert "fix scons build"
...
This reverts commit 29ec051648
.
2010-03-21 19:32:40 +02:00
George Sapountzis
29ec051648
fix scons build
2010-03-21 19:20:15 +02:00
George Sapountzis
dd120776d1
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
2010-03-21 15:37:40 +02:00
George Sapountzis
59629b413a
Revert "Makefile.template: respect LIBRARY_DEFINES in mkdep"
...
This reverts commit 9ec29e3191
.
2010-03-21 15:32:50 +02:00
Christoph Bumiller
f7273f2a27
nv50: report driver as GLSL capable
...
There's still no hint of optimization in the shaders, but
we support conditionals, loops and even integer opcodes so
it isn't that big a lie.
2010-03-21 14:11:59 +01:00
George Sapountzis
f2fa4a1888
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa
2010-03-21 15:05:21 +02:00