mesa.git
15 years agoMerge branch 'mesa_7_5_branch'
José Fonseca [Thu, 11 Jun 2009 15:34:56 +0000 (16:34 +0100)]
Merge branch 'mesa_7_5_branch'

Conflicts:
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_framebuffer.c

15 years agopython/tests: Test sampling from a depth texture.
José Fonseca [Thu, 11 Jun 2009 15:21:00 +0000 (16:21 +0100)]
python/tests: Test sampling from a depth texture.

15 years agomesa: Only do read write when we don't have a depth value to write
Jakob Bornecrantz [Thu, 11 Jun 2009 14:37:53 +0000 (15:37 +0100)]
mesa: Only do read write when we don't have a depth value to write

15 years agoprogs: Port fp programs to GLEW.
José Fonseca [Thu, 11 Jun 2009 12:19:34 +0000 (13:19 +0100)]
progs: Port fp programs to GLEW.

15 years agomesa: Take the format from the right structure.
José Fonseca [Thu, 11 Jun 2009 11:23:09 +0000 (12:23 +0100)]
mesa: Take the format from the right structure.

15 years agomeas: Use a read/write transfer when writing stencil component, but not touching...
José Fonseca [Thu, 11 Jun 2009 10:47:20 +0000 (11:47 +0100)]
meas: Use a read/write transfer when writing stencil component, but not touching the depth component.

15 years agodri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and...
Thomas Hellstrom [Wed, 10 Jun 2009 22:54:06 +0000 (00:54 +0200)]
dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and stencil renderbuffers.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
15 years agoscons: Indent abbreviated command line strings, so command messages stand out.
Michel Dänzer [Thu, 11 Jun 2009 10:11:37 +0000 (12:11 +0200)]
scons: Indent abbreviated command line strings, so command messages stand out.

Also add ASPPCOMSTR.

15 years agointel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.
Michel Dänzer [Thu, 11 Jun 2009 10:09:10 +0000 (12:09 +0200)]
intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.

Fixes glean depthStencil test.

15 years agomesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil.
José Fonseca [Wed, 10 Jun 2009 20:29:25 +0000 (21:29 +0100)]
mesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil.

Actually, after spotting this problem, I realized this is unreachable
code. However don't bother to enable this fast path now, given the normal
path is working just fine.

15 years agomesa: Fix typo in bitmask.
José Fonseca [Wed, 10 Jun 2009 20:25:54 +0000 (21:25 +0100)]
mesa: Fix typo in bitmask.

15 years agomesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM.
José Fonseca [Wed, 10 Jun 2009 18:58:54 +0000 (19:58 +0100)]
mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM.

Reversed component order.

This fixes glean depthStencil test failures for PIPE_FORMAT_Z24S8_UNORM
visuals.

15 years agoglsl: fix warnings, update comments, s/TRUE/GL_TRUE/
Brian Paul [Wed, 10 Jun 2009 18:22:36 +0000 (12:22 -0600)]
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/

(cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8)

15 years agoglsl: Handle continuation characters in preprocessor.
Brian Paul [Wed, 10 Jun 2009 18:21:56 +0000 (12:21 -0600)]
glsl: Handle continuation characters in preprocessor.

(cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e)

15 years agoglsl: fix warnings, update comments, s/TRUE/GL_TRUE/
Brian Paul [Wed, 10 Jun 2009 18:16:15 +0000 (12:16 -0600)]
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/

15 years agoglsl: Handle continuation characters in preprocessor.
Michal Krol [Wed, 10 Jun 2009 17:45:00 +0000 (19:45 +0200)]
glsl: Handle continuation characters in preprocessor.

15 years agoswrast: fix state validation bug for changing program constants
Brian Paul [Wed, 10 Jun 2009 15:18:22 +0000 (09:18 -0600)]
swrast: fix state validation bug for changing program constants

Add _NEW_PROGRAM_CONSTANTS to _SWRAST_NEW_DERIVED.
This makes sure that we update the fragment shader's constants when state
vars (such as point size) changes.
Fixes the progs/glsl/points.c demo.

15 years agoglsl: Fix symbol replacement handling in preprocessor.
Brian Paul [Wed, 10 Jun 2009 14:39:58 +0000 (08:39 -0600)]
glsl: Fix symbol replacement handling in preprocessor.

(cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)

15 years agomesa: disable texture unit error check in _mesa_MatrixMode()
Brian Paul [Wed, 10 Jun 2009 14:39:10 +0000 (08:39 -0600)]
mesa: disable texture unit error check in _mesa_MatrixMode()

See comments for details.

15 years agodocs: document GLSL preprocessor fixes
Brian Paul [Tue, 9 Jun 2009 17:56:12 +0000 (11:56 -0600)]
docs: document GLSL preprocessor fixes

15 years agoutil: Single precision constants.
José Fonseca [Wed, 10 Jun 2009 14:39:47 +0000 (15:39 +0100)]
util: Single precision constants.

15 years agomesa: Single precision constants.
José Fonseca [Wed, 10 Jun 2009 14:39:34 +0000 (15:39 +0100)]
mesa: Single precision constants.

15 years agomesa: Pure software accum buffer.
José Fonseca [Wed, 10 Jun 2009 14:39:02 +0000 (15:39 +0100)]
mesa: Pure software accum buffer.

The existing implementation was already implemented on software, but relied
on the pipe driver to always support the R16G16B16A16_SNORM format. This
patch eliminates that, without prejudice against a future hardware-only
implementation.

It also avoids some of the short <-> float conversions, and only does a read
transfer of the color buffer on GL_RETURN if absolutely necessary.

15 years agogallium: Shorthand functions for computing stride and sizes for a rect.
José Fonseca [Wed, 10 Jun 2009 14:31:12 +0000 (15:31 +0100)]
gallium: Shorthand functions for computing stride and sizes for a rect.

15 years agogallium: updated PIPE_CAP_x comments
Brian Paul [Tue, 9 Jun 2009 17:10:09 +0000 (11:10 -0600)]
gallium: updated PIPE_CAP_x comments

15 years agomesa/st: fix tracking of mapped buffer ranges
Keith Whitwell [Tue, 9 Jun 2009 17:32:18 +0000 (18:32 +0100)]
mesa/st: fix tracking of mapped buffer ranges

In st_bufferobj_map_range(), set obj->Offset consistently with its
usage elsewhere.

15 years agostw: ignore swapbuffer requests on singlebuffer
Keith Whitwell [Tue, 9 Jun 2009 15:35:55 +0000 (16:35 +0100)]
stw: ignore swapbuffer requests on singlebuffer

Return TRUE in this case.  Returning FALSE seems to result in
mis-rendering -- possibly opengl32.dll is trying to compensate by
doing a software blit??

15 years agoglsl: Expand nested preprocessor macros.
Brian Paul [Tue, 9 Jun 2009 15:14:38 +0000 (09:14 -0600)]
glsl: Expand nested preprocessor macros.

(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)

15 years agoMerge branch 'mesa_7_5_branch'
Jakob Bornecrantz [Tue, 9 Jun 2009 05:53:25 +0000 (07:53 +0200)]
Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/mesa/main/version.h
src/mesa/shader/slang/slang_preprocess.c
src/mesa/state_tracker/st_cb_bufferobjects.c

15 years agoglsl: Fix symbol replacement handling in preprocessor.
Michal Krol [Wed, 10 Jun 2009 10:15:13 +0000 (12:15 +0200)]
glsl: Fix symbol replacement handling in preprocessor.

15 years agowinsys/gdi: Link to ws2_32 library.
Michal Krol [Wed, 10 Jun 2009 10:01:13 +0000 (12:01 +0200)]
winsys/gdi: Link to ws2_32 library.

15 years agotrace: __func__ --> __FUNCTION__.
Michal Krol [Wed, 10 Jun 2009 09:56:38 +0000 (11:56 +0200)]
trace: __func__ --> __FUNCTION__.

15 years agoi915: Add an option for testing the effect of early Z in classic mode.
Eric Anholt [Tue, 9 Jun 2009 23:12:43 +0000 (16:12 -0700)]
i915: Add an option for testing the effect of early Z in classic mode.

The early Z stuff is supposed to be unsafe without some more work in the
enable/disable path (in particular, how do we want to get it disabled on
the way out to the X Server?), but at the moment is 6% in OA.

15 years agointel: Remove an unneeded hunk that slipped in with texture tiling.
Eric Anholt [Sat, 6 Jun 2009 07:22:00 +0000 (07:22 +0000)]
intel: Remove an unneeded hunk that slipped in with texture tiling.

intel_miptree_pitch_align does this later on.

15 years agointel: Base tri clearing depth on Y tiling, not IS_I965().
Eric Anholt [Sat, 6 Jun 2009 00:52:21 +0000 (00:52 +0000)]
intel: Base tri clearing depth on Y tiling, not IS_I965().

Y tiling is why the 965 check was there, but I wanted to experiment with Y
on pre-965 as well.

15 years agointel: Fix intel_region_unmap to do unmap, not map.
Eric Anholt [Fri, 5 Jun 2009 15:14:15 +0000 (15:14 +0000)]
intel: Fix intel_region_unmap to do unmap, not map.

Thanks to Shuang He for catching this.

15 years agoi965: added intelFlush() call in intel_get_tex_image()
Brian Paul [Tue, 9 Jun 2009 21:07:39 +0000 (15:07 -0600)]
i965: added intelFlush() call in intel_get_tex_image()

Fixes the render-to-texture test in progs/tests/getteximage.c

15 years agotests: check for GL_EXT/ARB_framebuffer_object
Brian Paul [Tue, 9 Jun 2009 21:06:41 +0000 (15:06 -0600)]
tests: check for GL_EXT/ARB_framebuffer_object

15 years agotests: also test glGetTexImage with render to texture
Brian Paul [Tue, 9 Jun 2009 21:05:36 +0000 (15:05 -0600)]
tests: also test glGetTexImage with render to texture

Also, adjust texture dims for the original test.
And use GLEW.

15 years agotests: quick and dirty glGetTexImage() test program
Brian Paul [Tue, 9 Jun 2009 20:03:25 +0000 (14:03 -0600)]
tests: quick and dirty glGetTexImage() test program

15 years agointel: use GLboolean, not int, for compressed parameter
Brian Paul [Tue, 9 Jun 2009 19:28:20 +0000 (13:28 -0600)]
intel: use GLboolean, not int, for compressed parameter

15 years agointel: make a bunch of glTexImage-related functions static
Brian Paul [Tue, 9 Jun 2009 19:21:22 +0000 (13:21 -0600)]
intel: make a bunch of glTexImage-related functions static

15 years agointel: whitespace clean-ups
Brian Paul [Tue, 9 Jun 2009 19:09:05 +0000 (13:09 -0600)]
intel: whitespace clean-ups

15 years agovbo: more glDrawElements debug code (disabled)
Brian Paul [Tue, 9 Jun 2009 18:17:19 +0000 (12:17 -0600)]
vbo: more glDrawElements debug code (disabled)

15 years agomesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)
Brian Paul [Tue, 9 Jun 2009 17:53:19 +0000 (11:53 -0600)]
mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled)

15 years agotrace/rbug: Add support for draw block rule
Jakob Bornecrantz [Tue, 9 Jun 2009 18:24:06 +0000 (19:24 +0100)]
trace/rbug: Add support for draw block rule

15 years agorbug: Change block protocol around a bit
Jakob Bornecrantz [Tue, 9 Jun 2009 18:22:40 +0000 (19:22 +0100)]
rbug: Change block protocol around a bit

15 years agotrace/rbug: Return textures currently bound to context
Jakob Bornecrantz [Tue, 9 Jun 2009 14:59:29 +0000 (15:59 +0100)]
trace/rbug: Return textures currently bound to context

15 years agorbug: Extend context info and block ops
Jakob Bornecrantz [Tue, 9 Jun 2009 14:58:14 +0000 (15:58 +0100)]
rbug: Extend context info and block ops

15 years agointel: remove extra \n from warning string
Brian Paul [Mon, 8 Jun 2009 20:41:54 +0000 (14:41 -0600)]
intel: remove extra \n from warning string

15 years agomesa: reorder fields, update comments for gl_buffer_object
Brian Paul [Mon, 8 Jun 2009 21:27:10 +0000 (15:27 -0600)]
mesa: reorder fields, update comments for gl_buffer_object

15 years agoglsl: Expand nested preprocessor macros.
Michal Krol [Tue, 9 Jun 2009 10:14:40 +0000 (12:14 +0200)]
glsl: Expand nested preprocessor macros.

15 years agor300-gallium: HW TCL glxgears. (Read the rest of the log.)
Corbin Simpson [Tue, 9 Jun 2009 03:23:34 +0000 (20:23 -0700)]
r300-gallium: HW TCL glxgears. (Read the rest of the log.)

Um. So, yeah. Two massive WTF moments here. The first one is that, somehow,
I never actually hooked up vertex shader emission, so the only time that the
VAP gets set up is during surface_copy/surface_fill. That's why acidgears
was happening.

The second one is that, somehow, once I actually hooked it up, glxgears just
magically worked. Without any actual, real testing, I somehow accidentally
made the shader compiler work. Go figure.

15 years agor300-gallium: Make UCP and clip work again for SW TCL.
Corbin Simpson [Tue, 9 Jun 2009 03:01:57 +0000 (20:01 -0700)]
r300-gallium: Make UCP and clip work again for SW TCL.

SW TCL: tri-clip works, tri-userclip works
HW TCL: tri-clip fails, tri-userclip works

That is a 200% improvement over the previous situation. Woot.

15 years agor300-gallium: Don't emit UCP planes for SW TCL.
Corbin Simpson [Tue, 9 Jun 2009 02:55:33 +0000 (19:55 -0700)]
r300-gallium: Don't emit UCP planes for SW TCL.

15 years agost/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion
Brian Paul [Mon, 8 Jun 2009 22:11:17 +0000 (16:11 -0600)]
st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion

15 years agoCygwin build fixes
Jon TURNEY [Mon, 8 Jun 2009 15:02:18 +0000 (16:02 +0100)]
Cygwin build fixes

Fix mklib to deal with NOPREFIX and use --enable-auto-image-base for cygwin
Teach configure.ac some basic facts about cygwin

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
15 years agoglsl: Fix preprocessor define argument parsing for dead sections.
Brian Paul [Mon, 8 Jun 2009 19:53:33 +0000 (13:53 -0600)]
glsl: Fix preprocessor define argument parsing for dead sections.

(cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)

15 years agoglsl: Fix preprocessor define argument parsing for dead sections.
Michal Krol [Mon, 8 Jun 2009 18:52:47 +0000 (20:52 +0200)]
glsl: Fix preprocessor define argument parsing for dead sections.

15 years agopipebuffer: Silence out of heap space debug print
Jakob Bornecrantz [Mon, 8 Jun 2009 14:46:06 +0000 (16:46 +0200)]
pipebuffer: Silence out of heap space debug print

15 years agoglsl: preprocessor debug code (disabled)
Brian Paul [Mon, 8 Jun 2009 16:58:04 +0000 (10:58 -0600)]
glsl: preprocessor debug code (disabled)

15 years agodocs: document MESA_EXTENSION_OVERRIDE env var
Brian Paul [Mon, 8 Jun 2009 16:56:51 +0000 (10:56 -0600)]
docs: document MESA_EXTENSION_OVERRIDE env var

15 years agosoftpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0
Brian Paul [Mon, 8 Jun 2009 16:55:34 +0000 (10:55 -0600)]
softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0

Note that this doesn't have any real significance since
PIPE_CAP_ANISOTROPIC_FILTER still returns 0.

15 years agomesa: new MESA_EXTENSION_OVERRIDE env var
Brian Paul [Mon, 8 Jun 2009 16:52:16 +0000 (10:52 -0600)]
mesa: new MESA_EXTENSION_OVERRIDE env var

Can be used to enable/disable extensions as reported by
glGetString(GL_EXTENSIONS).

If a name is preceeded by '-' it's disabled.  Otherwise, the named
extension is enabled.

Intended for debug/test purposes.

15 years agost/mesa: remove invalid assertion
Brian Paul [Mon, 8 Jun 2009 16:44:48 +0000 (10:44 -0600)]
st/mesa: remove invalid assertion

It's legal for ARB_vertex_program programs to not write to result.position.
The results are undefined in that case.  This assertion was causing us to
abort/exit though.

15 years agomesa: Use matching signedness for the counter as upper bound.
José Fonseca [Mon, 8 Jun 2009 15:29:46 +0000 (16:29 +0100)]
mesa: Use matching signedness for the counter as upper bound.

15 years agomesa: Allocate tokens from the heap.
José Fonseca [Mon, 8 Jun 2009 15:27:59 +0000 (16:27 +0100)]
mesa: Allocate tokens from the heap.

The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on
windows.

Failure to allocate is not being propagated to the caller. This is not
a regression since the previous _mesa_malloc result wasn't being
checked as well. Unfortunately it is not easy to fix, as the callers of
these functions do not have failure propagation mechanism either, and
so on. So leaving a just fixme note for now.

15 years agomesa: better error message for invalid texture unit index
Brian Paul [Mon, 8 Jun 2009 15:52:31 +0000 (09:52 -0600)]
mesa: better error message for invalid texture unit index

15 years agomesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256
Brian Paul [Mon, 8 Jun 2009 15:42:04 +0000 (09:42 -0600)]
mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256

Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).

15 years agomesa/vbo: drop all references to vbo on destroy
Keith Whitwell [Mon, 8 Jun 2009 15:11:29 +0000 (16:11 +0100)]
mesa/vbo: drop all references to vbo on destroy

We were adding references to the input arrays, but failing to drop
them on destruction.  This could lead to a 64kb buffer being leaked
each context destruction.

15 years agomesa: EXT_vertex_array_bgra fixes
Brian Paul [Mon, 8 Jun 2009 13:25:24 +0000 (07:25 -0600)]
mesa: EXT_vertex_array_bgra fixes

1) Pass the correct format when calling update_array in
   _mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
   false in glVertexAttribPointerARB

(cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)

15 years agomesa: EXT_vertex_array_bgra fixes
Maciej Cencora [Mon, 8 Jun 2009 13:23:56 +0000 (07:23 -0600)]
mesa: EXT_vertex_array_bgra fixes

1) Pass the correct format when calling update_array in
   _mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
   false in glVertexAttribPointerARB

15 years agotrace/rbug: Sleep on windows when blocked
Jakob Bornecrantz [Mon, 8 Jun 2009 12:33:55 +0000 (14:33 +0200)]
trace/rbug: Sleep on windows when blocked

15 years agostw: If stfb not set don't call into mesa
Jakob Bornecrantz [Mon, 8 Jun 2009 12:34:16 +0000 (14:34 +0200)]
stw: If stfb not set don't call into mesa

15 years agoprogs/tests: Add some scissor tests
Jakob Bornecrantz [Wed, 3 Jun 2009 14:33:56 +0000 (16:33 +0200)]
progs/tests: Add some scissor tests

15 years agoRevert "scons: Less aggressive optimizations for MSVC 64bit compiler."
José Fonseca [Thu, 4 Jun 2009 17:34:02 +0000 (10:34 -0700)]
Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."

This reverts commit fc7f92478286041a018ac4e72d2ccedeea7c0eca.

15 years agollvm: fix compile on gcc 4.4
Dave Airlie [Mon, 8 Jun 2009 08:17:21 +0000 (18:17 +1000)]
llvm: fix compile on gcc 4.4

15 years agonouveau: forgotten makefile...
Ben Skeggs [Sun, 7 Jun 2009 09:29:29 +0000 (19:29 +1000)]
nouveau: forgotten makefile...

15 years agonv50: fix multi-texturing
Ben Skeggs [Sat, 6 Jun 2009 04:00:45 +0000 (14:00 +1000)]
nv50: fix multi-texturing

15 years agonv50: support non-normalized texture coords
Ben Skeggs [Sat, 6 Jun 2009 00:57:19 +0000 (10:57 +1000)]
nv50: support non-normalized texture coords

15 years agomesa: bump version to 7.5-rc3
Brian Paul [Fri, 5 Jun 2009 23:16:47 +0000 (17:16 -0600)]
mesa: bump version to 7.5-rc3

15 years agor300-gallium: Use VAP_CLIP_CNTL.
Corbin Simpson [Fri, 5 Jun 2009 20:46:59 +0000 (13:46 -0700)]
r300-gallium: Use VAP_CLIP_CNTL.

Makes tri-userclip work with HW TCL.

15 years agor300-gallium: Emit UCP.
Corbin Simpson [Fri, 5 Jun 2009 18:21:09 +0000 (11:21 -0700)]
r300-gallium: Emit UCP.

15 years agor300-gallium: Improve vs emit.
Corbin Simpson [Fri, 5 Jun 2009 17:18:20 +0000 (10:18 -0700)]
r300-gallium: Improve vs emit.

15 years agomesa: Fix wglext.h prototypes.
Michal Krol [Fri, 5 Jun 2009 13:00:15 +0000 (15:00 +0200)]
mesa: Fix wglext.h prototypes.

15 years agonv50: use larger tile sizes
Ben Skeggs [Fri, 5 Jun 2009 12:04:07 +0000 (22:04 +1000)]
nv50: use larger tile sizes

15 years agonv50: use nouveau_bo for query buffers
Ben Skeggs [Fri, 5 Jun 2009 10:45:58 +0000 (20:45 +1000)]
nv50: use nouveau_bo for query buffers

15 years agonv50: create textures with nouveau_bo, for flexibility with tiling later
Ben Skeggs [Fri, 5 Jun 2009 10:32:32 +0000 (20:32 +1000)]
nv50: create textures with nouveau_bo, for flexibility with tiling later

15 years agoutil: Fix winsock include.
Michal Krol [Fri, 5 Jun 2009 12:32:31 +0000 (14:32 +0200)]
util: Fix winsock include.

15 years agor300-gallium: Mute some debug info.
Corbin Simpson [Fri, 5 Jun 2009 07:12:26 +0000 (00:12 -0700)]
r300-gallium: Mute some debug info.

Most of it is no longer interesting.

15 years agor300-gallium: vs: Fix negation calculation.
Corbin Simpson [Fri, 5 Jun 2009 06:56:32 +0000 (23:56 -0700)]
r300-gallium: vs: Fix negation calculation.

Still doesn't draw right, but at least it's the right numbers now.
Thanks to taiu in #dri-devel.

15 years agor300-gallium: Fix pasta.
Corbin Simpson [Fri, 5 Jun 2009 06:56:08 +0000 (23:56 -0700)]
r300-gallium: Fix pasta.

Trivial but annoying.

15 years agor300-gallium: Improve vs debug more.
Corbin Simpson [Fri, 5 Jun 2009 06:25:46 +0000 (23:25 -0700)]
r300-gallium: Improve vs debug more.

Still not showing me why my stuff's failing, but getting there.

15 years agor300-gallium: vs: Add negation, SUB.
Corbin Simpson [Fri, 5 Jun 2009 05:41:33 +0000 (22:41 -0700)]
r300-gallium: vs: Add negation, SUB.

Doesn't work. WTF.

15 years agor300: Moar vs debug.
Corbin Simpson [Fri, 5 Jun 2009 04:38:33 +0000 (21:38 -0700)]
r300: Moar vs debug.

15 years agonouveau: plug in our map_buffer_range and friends
Ben Skeggs [Fri, 5 Jun 2009 04:48:45 +0000 (14:48 +1000)]
nouveau: plug in our map_buffer_range and friends

15 years agonouveau: fix build with libdrm_nouveau 0.6
Ben Skeggs [Fri, 5 Jun 2009 02:27:42 +0000 (12:27 +1000)]
nouveau: fix build with libdrm_nouveau 0.6

15 years agonouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->
Ben Skeggs [Fri, 5 Jun 2009 01:21:08 +0000 (11:21 +1000)]
nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->

15 years agonouveau: move channel creation into pipe drivers
Ben Skeggs [Fri, 5 Jun 2009 00:28:13 +0000 (10:28 +1000)]
nouveau: move channel creation into pipe drivers

15 years agonouveau: call notifier/grobj etc funcs directly
Ben Skeggs [Thu, 4 Jun 2009 22:47:42 +0000 (08:47 +1000)]
nouveau: call notifier/grobj etc funcs directly

libdrm_nouveau is linked with the winsys, there's no good reason to do all
this through yet another layer.