mesa.git
14 years agor300g: disable tiling for YUV formats
Marek Olšák [Sun, 21 Mar 2010 21:17:14 +0000 (22:17 +0100)]
r300g: disable tiling for YUV formats

14 years agor300g: fix scons build
Marek Olšák [Sun, 21 Mar 2010 21:05:27 +0000 (22:05 +0100)]
r300g: fix scons build

14 years agor300g: accelerate blitting for all 64-bit texture formats
Marek Olšák [Sun, 21 Mar 2010 20:47:41 +0000 (21:47 +0100)]
r300g: accelerate blitting for all 64-bit texture formats

14 years agor300g: add and enable square microtiling
Marek Olšák [Sun, 14 Feb 2010 16:43:32 +0000 (17:43 +0100)]
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.

14 years agor300g: cleanup tiling flags propagation
Marek Olšák [Sun, 21 Mar 2010 20:34:57 +0000 (21:34 +0100)]
r300g: cleanup tiling flags propagation

14 years agor300g: put common defines into one file
Marek Olšák [Sun, 21 Mar 2010 20:34:18 +0000 (21:34 +0100)]
r300g: put common defines into one file

14 years agor300g: remove unused code
Marek Olšák [Sun, 21 Mar 2010 20:22:21 +0000 (21:22 +0100)]
r300g: remove unused code

14 years agoRevert "drm/sw: does not need sw_winsys"
George Sapountzis [Sun, 21 Mar 2010 17:36:28 +0000 (19:36 +0200)]
Revert "drm/sw: does not need sw_winsys"

This reverts commit 97a694e2211dc804090f282d8e096c028f29579f.

14 years agoRevert "gallium: add soft screen helper"
George Sapountzis [Sun, 21 Mar 2010 17:33:17 +0000 (19:33 +0200)]
Revert "gallium: add soft screen helper"

This reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.

14 years agoRevert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"
George Sapountzis [Sun, 21 Mar 2010 17:33:09 +0000 (19:33 +0200)]
Revert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"

This reverts commit 5d524cce9c4fcc18ed977801d59ba7bb911020db.

14 years agoRevert "fix scons build"
George Sapountzis [Sun, 21 Mar 2010 17:32:40 +0000 (19:32 +0200)]
Revert "fix scons build"

This reverts commit 29ec05164838f13d9535271796a50fa213d07912.

14 years agofix scons build
George Sapountzis [Sun, 21 Mar 2010 17:20:15 +0000 (19:20 +0200)]
fix scons build

14 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
George Sapountzis [Sun, 21 Mar 2010 13:37:40 +0000 (15:37 +0200)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa

14 years agoRevert "Makefile.template: respect LIBRARY_DEFINES in mkdep"
George Sapountzis [Sun, 21 Mar 2010 13:32:50 +0000 (15:32 +0200)]
Revert "Makefile.template: respect LIBRARY_DEFINES in mkdep"

This reverts commit 9ec29e31919e85f9230867f43841c0e74be930d3.

14 years agonv50: report driver as GLSL capable
Christoph Bumiller [Sun, 21 Mar 2010 13:05:20 +0000 (14:05 +0100)]
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.

14 years agoMerge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa
George Sapountzis [Sun, 21 Mar 2010 13:05:21 +0000 (15:05 +0200)]
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa

14 years agodrm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/
George Sapountzis [Sun, 21 Mar 2010 13:01:36 +0000 (15:01 +0200)]
drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/

This partially reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.

14 years agonv50: don't validate arrays on clear
Christoph Bumiller [Sun, 21 Mar 2010 11:26:08 +0000 (12:26 +0100)]
nv50: don't validate arrays on clear

The vertex elements and buffers might not be valid anymore.

14 years agonv50: get rid of the static_init stateobj
Christoph Bumiller [Sun, 21 Mar 2010 12:17:02 +0000 (13:17 +0100)]
nv50: get rid of the static_init stateobj

Relocations of per-screen buffers are now emitted directly,
and include the necessary method to get changes in constbuf
addresses committed to the hw.

It should also be a bit cheaper than the way stateobjs emit
relocation markers, use a little less pushbuf space.

14 years agogallium: add soft screen helper
George Sapountzis [Fri, 19 Mar 2010 00:38:11 +0000 (02:38 +0200)]
gallium: add soft screen helper

14 years agodri1_api: need not include drm.h
George Sapountzis [Fri, 19 Mar 2010 00:38:11 +0000 (02:38 +0200)]
dri1_api: need not include drm.h

14 years agodrm/sw: does not need sw_winsys
George Sapountzis [Fri, 19 Mar 2010 00:38:11 +0000 (02:38 +0200)]
drm/sw: does not need sw_winsys

14 years agodrm/sw: llvmpipe texture_from_handle
George Sapountzis [Fri, 19 Mar 2010 00:38:11 +0000 (02:38 +0200)]
drm/sw: llvmpipe texture_from_handle

Not sure, but judging by softpipe, this hook was forgotten.

14 years agoMakefile.template: respect LIBRARY_DEFINES in mkdep
George Sapountzis [Fri, 19 Mar 2010 00:38:10 +0000 (02:38 +0200)]
Makefile.template: respect LIBRARY_DEFINES in mkdep

14 years agorename dri_sw to drisw_util for consistency
George Sapountzis [Fri, 19 Mar 2010 00:38:10 +0000 (02:38 +0200)]
rename dri_sw to drisw_util for consistency

14 years agodri_inteface: add define for checking presence of drm.h
George Sapountzis [Fri, 19 Mar 2010 00:38:09 +0000 (02:38 +0200)]
dri_inteface: add define for checking presence of drm.h

__NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms
and allows to be defined externally as well.

__NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers

14 years agoglx: minor cosmetic
George Sapountzis [Fri, 19 Mar 2010 23:51:00 +0000 (01:51 +0200)]
glx: minor cosmetic

14 years agoglx: swapBuffers prototype has changed
George Sapountzis [Fri, 19 Mar 2010 00:38:09 +0000 (02:38 +0200)]
glx: swapBuffers prototype has changed

14 years agodri/nouveau: Reemit the light model state when lighting goes on/off.
Francisco Jerez [Sun, 21 Mar 2010 10:49:46 +0000 (11:49 +0100)]
dri/nouveau: Reemit the light model state when lighting goes on/off.

14 years agodri/nouveau: Random cleanups.
Francisco Jerez [Sun, 21 Mar 2010 10:49:20 +0000 (11:49 +0100)]
dri/nouveau: Random cleanups.

14 years agor300g: fix occlusion query hangs.
Dave Airlie [Sun, 21 Mar 2010 09:36:15 +0000 (19:36 +1000)]
r300g: fix occlusion query hangs.

Okay need to revist the whole OQ stuff anyways, glean test asserts
which is never good.

I'm liking the cached bufmgr restrictions less and less, I think I'll
probably play with the fence and/or busy stuff ASAP and try and clean it up.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agor300g: add bufmgr cached for vertex/index buffers.
Dave Airlie [Sun, 21 Mar 2010 08:25:31 +0000 (18:25 +1000)]
r300g: add bufmgr cached for vertex/index buffers.

This adds the cached bufmgr for vertex/index buffers on top of the kernel
manager.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agogallium: cached bufmgr add map busy check
Dave Airlie [Sun, 21 Mar 2010 08:23:22 +0000 (18:23 +1000)]
gallium: cached bufmgr add map busy check

Suggested by Jose on the list, probably not perfect but will let me get
past this for now, testing with a fenced bufmgr on top of this, was slower,

Also this doesn't let you do the busy early exit optimisation either from
what I can see.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agoMerge remote branch 'origin/gallium-st-api-dri'
Chia-I Wu [Sun, 21 Mar 2010 08:32:34 +0000 (16:32 +0800)]
Merge remote branch 'origin/gallium-st-api-dri'

14 years agor300g: align misaligned ushort vertex indices
Marek Olšák [Sun, 21 Mar 2010 03:49:35 +0000 (04:49 +0100)]
r300g: align misaligned ushort vertex indices

14 years agor300g: fix misaligned generated offset for ubyte vertex indices
Marek Olšák [Sun, 21 Mar 2010 03:39:33 +0000 (04:39 +0100)]
r300g: fix misaligned generated offset for ubyte vertex indices

14 years agor300g: split the vertex buffer alignment validation
Marek Olšák [Sat, 20 Mar 2010 21:14:59 +0000 (22:14 +0100)]
r300g: split the vertex buffer alignment validation

14 years agor300g: skip null vertex buffers
Marek Olšák [Sat, 20 Mar 2010 20:26:19 +0000 (21:26 +0100)]
r300g: skip null vertex buffers

14 years agor300/compiler: fix assertion failure in the r500-fragprog emission path
Marek Olšák [Sat, 20 Mar 2010 17:31:11 +0000 (18:31 +0100)]
r300/compiler: fix assertion failure in the r500-fragprog emission path

14 years agor300g: Bump immediate limits.
Corbin Simpson [Sun, 21 Mar 2010 00:18:22 +0000 (17:18 -0700)]
r300g: Bump immediate limits.

Seems like a decent idea, especially since the big barrier now is
getting the VBOs back from the VRAM boundary.

14 years agor300g: Correctly hax max_index on pipe_vertex_buffers.
Corbin Simpson [Sun, 21 Mar 2010 00:16:46 +0000 (17:16 -0700)]
r300g: Correctly hax max_index on pipe_vertex_buffers.

Still not happy with this, but at least things seem to work.

14 years agoradeong: Use TRUE and FALSE.
Corbin Simpson [Sat, 20 Mar 2010 23:15:36 +0000 (16:15 -0700)]
radeong: Use TRUE and FALSE.

14 years agoradeong: Test the BO ptr for NULL instead of using a bool.
Corbin Simpson [Sat, 20 Mar 2010 23:14:20 +0000 (16:14 -0700)]
radeong: Test the BO ptr for NULL instead of using a bool.

Slight memory savings, but more importantly also avoids a potential NULL
dereference.

14 years agor300g: winsys fix tiling change flushes.
Dave Airlie [Sat, 20 Mar 2010 20:34:11 +0000 (06:34 +1000)]
r300g: winsys fix tiling change flushes.

If we change the tiling on a buffer we need to flush it, the old
radeon_buffer.c code had this but it crossed streams when I ported to
radeon_drm_buffer.c and I missed it. Should fix some piglit regressions.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agor300g: add buffer/texture referenced checks.
Dave Airlie [Sat, 20 Mar 2010 20:32:48 +0000 (06:32 +1000)]
r300g: add buffer/texture referenced checks.

I've no idea about the comments that were in there, just pass
this down to the winsys.

Signed-off-by: Dave Airlie <airlied@redhat.com>
14 years agodocs: note GL_EXT_packed_float, GL_EXT_shared_exponent extensions
Brian Paul [Sat, 20 Mar 2010 18:05:25 +0000 (12:05 -0600)]
docs: note GL_EXT_packed_float, GL_EXT_shared_exponent extensions

14 years agomesa: added GL3 query for GL_TEXTURE_SHARED_SIZE
Brian Paul [Sat, 20 Mar 2010 18:04:52 +0000 (12:04 -0600)]
mesa: added GL3 query for GL_TEXTURE_SHARED_SIZE

14 years agomesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT
Brian Paul [Sat, 20 Mar 2010 17:55:24 +0000 (11:55 -0600)]
mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT

14 years agomesa: added new GL3 buffer object queries
Brian Paul [Sat, 20 Mar 2010 17:52:12 +0000 (11:52 -0600)]
mesa: added new GL3 buffer object queries

And clean up the error checking code.

14 years agomesa: added GL3 buffer attachment aliases
Brian Paul [Sat, 20 Mar 2010 17:50:55 +0000 (11:50 -0600)]
mesa: added GL3 buffer attachment aliases

14 years agomesa: added GL3 ContextFlags field and query code
Brian Paul [Sat, 20 Mar 2010 17:50:29 +0000 (11:50 -0600)]
mesa: added GL3 ContextFlags field and query code

14 years agost/dri: fix bug in make_current
George Sapountzis [Fri, 19 Mar 2010 19:16:21 +0000 (19:16 +0000)]
st/dri: fix bug in make_current

14 years agost/dri: fix bug in allocate_textures
George Sapountzis [Fri, 19 Mar 2010 00:38:10 +0000 (02:38 +0200)]
st/dri: fix bug in allocate_textures

14 years agogallivm: simplify and clean-up Z/stencil bit mask/shift code
Brian Paul [Fri, 19 Mar 2010 16:02:16 +0000 (10:02 -0600)]
gallivm: simplify and clean-up Z/stencil bit mask/shift code

Refactor the code into two helper functions which compute the bit mask
and shift terms for Z and stencil.  Plus add a bunch of new comments to
explain everything.

14 years agocso: remove cso_set/save/restore_sampler_textures
Roland Scheidegger [Fri, 19 Mar 2010 15:30:47 +0000 (16:30 +0100)]
cso: remove cso_set/save/restore_sampler_textures

no longer used after all statetrackers have been converted.

14 years agost/vega: fix up vega state tracker to use cso changes
Roland Scheidegger [Fri, 19 Mar 2010 15:29:22 +0000 (16:29 +0100)]
st/vega: fix up vega state tracker to use cso changes

use cso fragment sampler views instead of sampler textures.
since we don't really change views, try to store sampler views instead
of the textures to avoid having to recreate views most of the time.

14 years agoes: added -I$(TOP)/include path
Brian Paul [Fri, 19 Mar 2010 13:36:50 +0000 (07:36 -0600)]
es: added -I$(TOP)/include path

14 years agogallium/docs: Clarify sampler view descriptions.
Michal Krol [Fri, 19 Mar 2010 08:08:33 +0000 (09:08 +0100)]
gallium/docs: Clarify sampler view descriptions.

14 years agogallium/docs: Fix a couple ReST errors.
Corbin Simpson [Fri, 19 Mar 2010 07:07:55 +0000 (00:07 -0700)]
gallium/docs: Fix a couple ReST errors.

14 years agor300g: lod min/max clamping should be relative to the base level
Marek Olšák [Fri, 19 Mar 2010 03:46:15 +0000 (04:46 +0100)]
r300g: lod min/max clamping should be relative to the base level

14 years agor300g: fix breakage after the gallium-sampler-view merge
Marek Olšák [Fri, 19 Mar 2010 00:13:57 +0000 (01:13 +0100)]
r300g: fix breakage after the gallium-sampler-view merge

14 years agor300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanups
Marek Olšák [Thu, 18 Mar 2010 20:18:36 +0000 (21:18 +0100)]
r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanups

14 years agor300g: mark SRGB colorbuffers as unsupported
Marek Olšák [Thu, 18 Mar 2010 19:58:04 +0000 (20:58 +0100)]
r300g: mark SRGB colorbuffers as unsupported

I can't find the register bits for SRGB-aware blending and it's not even
exposed by fglrx so it's most probably not supported by hw.

14 years agor300g: add generating texture coordinates for point sprites (WIP)
Marek Olšák [Thu, 24 Dec 2009 20:29:41 +0000 (21:29 +0100)]
r300g: add generating texture coordinates for point sprites (WIP)

14 years agogallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code
Brian Paul [Thu, 18 Mar 2010 23:27:39 +0000 (17:27 -0600)]
gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code

14 years agoprogs/tests: also test stencil INCR_WRAP mode if supported
Brian Paul [Thu, 18 Mar 2010 21:04:31 +0000 (15:04 -0600)]
progs/tests: also test stencil INCR_WRAP mode if supported

14 years agogallivm: fix broken INCR/DECR stencil modes
Brian Paul [Thu, 18 Mar 2010 21:02:13 +0000 (15:02 -0600)]
gallivm: fix broken INCR/DECR stencil modes

We were mistakenly using the wrong data type for stencil values before.

14 years agoprogs/tests: comments and clean-ups
Brian Paul [Thu, 18 Mar 2010 20:53:43 +0000 (14:53 -0600)]
progs/tests: comments and clean-ups

14 years agogallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through
Brian Paul [Thu, 18 Mar 2010 19:02:53 +0000 (13:02 -0600)]
gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through

The triangle rasterizer sets this field to indicate front/back-facing.
It gets passed into the generated fragment code as another parameter.
Used now for stencil front/back selection but will also be used for
fragment shaders in general (see TGSI_SEMANTIC_FACE).

With this commit two-sided stenciling mostly works but there's
still a bug or two...

14 years agollvmpipe: defines for RAST_WHOLE, RAST_EDGE_TEST
Brian Paul [Thu, 18 Mar 2010 18:04:50 +0000 (12:04 -0600)]
llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TEST

14 years agoAdd format B5G5R5X1
Alan Hourihane [Thu, 18 Mar 2010 18:01:05 +0000 (18:01 +0000)]
Add format B5G5R5X1

14 years agogallivm/llvmpipe: simplify front/back stencil ref value handling
Brian Paul [Thu, 18 Mar 2010 17:31:38 +0000 (11:31 -0600)]
gallivm/llvmpipe: simplify front/back stencil ref value handling

Instead of passing an array, just pass two scalar values.

14 years agogallivm: checkpoint WIP two-sided stencil test
Brian Paul [Thu, 18 Mar 2010 17:18:01 +0000 (11:18 -0600)]
gallivm: checkpoint WIP two-sided stencil test

14 years agollvmpipe: set opaque = FALSE if stencil enabled
Brian Paul [Thu, 18 Mar 2010 15:30:13 +0000 (09:30 -0600)]
llvmpipe: set opaque = FALSE if stencil enabled

Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c

14 years agodri/nouveau: Flush after texture validation.
Francisco Jerez [Thu, 18 Mar 2010 12:46:20 +0000 (13:46 +0100)]
dri/nouveau: Flush after texture validation.

Swizzling needs the destination surface in VRAM, but the subsequent
rendering operations making use of it are likely to not care. Fire the
ring after validation to leave the memory manager more room for
maneuvering.

14 years agodri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.
Francisco Jerez [Thu, 18 Mar 2010 13:19:10 +0000 (14:19 +0100)]
dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.

14 years agodri/nouveau: Implement texcoord generation.
Francisco Jerez [Thu, 18 Mar 2010 13:18:55 +0000 (14:18 +0100)]
dri/nouveau: Implement texcoord generation.

14 years agodri/nouveau: Implement texture matrices.
Francisco Jerez [Thu, 18 Mar 2010 13:13:36 +0000 (14:13 +0100)]
dri/nouveau: Implement texture matrices.

14 years agodri/nouveau: Some minor vertex submission fixes.
Francisco Jerez [Thu, 11 Mar 2010 20:48:51 +0000 (21:48 +0100)]
dri/nouveau: Some minor vertex submission fixes.

14 years agodri/nouveau: only reallocate texture when needed
Xavier Chantry [Sat, 13 Mar 2010 18:28:07 +0000 (19:28 +0100)]
dri/nouveau: only reallocate texture when needed

nouveau reallocated the mipmap tree on every MIN_FILTER call to account
for mipmap change. We only need to do this if the texture does not fit
in the existing mipmap tree. This gives a big performance boost for a
game like bzflag which changes MIN_FILTER all the time for its font
rendering.

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
14 years agollvmpipe: Fix crashes when there is no depth buffer bound.
José Fonseca [Thu, 18 Mar 2010 10:24:10 +0000 (10:24 +0000)]
llvmpipe: Fix crashes when there is no depth buffer bound.

14 years agointel: Call _mesa_make_current() after getting initial buffers
Kristian Høgsberg [Thu, 18 Mar 2010 02:44:58 +0000 (22:44 -0400)]
intel: Call _mesa_make_current() after getting initial buffers

The default viewport is the window rectangle, which is set up by
_mesa_make_current().  To be able to do that we need to get the
window dimension (and buffers) first, so we have to call
intel_prepare_render() before we can call into _mesa_make_current().

Fixes #26676 and #26678.

14 years agost/mesa: Set the pipe context of the texture object.
Chia-I Wu [Thu, 18 Mar 2010 01:24:10 +0000 (09:24 +0800)]
st/mesa: Set the pipe context of the texture object.

The field was added in b8030c6561e019e079b5be2fe64ec804df4bfa03.  This
fixes a NULL dereference in xdemos/texture_from_pixmap.

14 years agost/dri: Switch from st_public.h to st_api.h.
Chia-I Wu [Mon, 8 Mar 2010 14:19:48 +0000 (22:19 +0800)]
st/dri: Switch from st_public.h to st_api.h.

This is tested with demos found in progs/demos.  However, only the DRI2
path is tested.

14 years agost/dri: Implement st_api.h callbacks.
Chia-I Wu [Mon, 8 Mar 2010 11:25:32 +0000 (19:25 +0800)]
st/dri: Implement st_api.h callbacks.

This commit adds dri_st_api.c that implements st_api.h callbacks.  A
following commit will switch st/dri from st_public.h to st_api.h.

14 years agost/dri: Headers and public symbols clean up.
Chia-I Wu [Tue, 16 Mar 2010 02:55:40 +0000 (10:55 +0800)]
st/dri: Headers and public symbols clean up.

Remove unused headers and stop marking driDriverAPI as PUBLIC.

14 years agost/dri: Move DRI1 bits in dri_context.c to dri1.c.
Chia-I Wu [Tue, 16 Mar 2010 02:31:40 +0000 (10:31 +0800)]
st/dri: Move DRI1 bits in dri_context.c to dri1.c.

14 years agost/dri: Move DRI1 bits in dri_drawable.c to dri1.c.
Chia-I Wu [Tue, 16 Mar 2010 02:25:50 +0000 (10:25 +0800)]
st/dri: Move DRI1 bits in dri_drawable.c to dri1.c.

14 years agost/dri: Move DRI1 bits in dri_screen.c to dri1.c.
Chia-I Wu [Tue, 16 Mar 2010 01:47:18 +0000 (09:47 +0800)]
st/dri: Move DRI1 bits in dri_screen.c to dri1.c.

14 years agoprogs/trivial: added comments
Brian Paul [Wed, 17 Mar 2010 22:26:41 +0000 (16:26 -0600)]
progs/trivial: added comments

14 years agogallivm/llvmpipe: basic stencil testing works
Brian Paul [Wed, 17 Mar 2010 22:24:12 +0000 (16:24 -0600)]
gallivm/llvmpipe: basic stencil testing works

Most stencil demos look OK (modulo some unrelated rendering glitches).
Only single-sided stencil test works at this point.
There are probably some bugs to be found...

14 years agollvmpipe: remove incorrect depth test check
Brian Paul [Wed, 17 Mar 2010 21:09:35 +0000 (15:09 -0600)]
llvmpipe: remove incorrect depth test check

14 years agogallivm: added lp_build_andc()
Brian Paul [Wed, 17 Mar 2010 21:07:45 +0000 (15:07 -0600)]
gallivm: added lp_build_andc()

14 years agollvmpipe: silence some pointer/casting warnings
Brian Paul [Wed, 17 Mar 2010 14:34:23 +0000 (08:34 -0600)]
llvmpipe: silence some pointer/casting warnings

14 years agogallivm/llvmpipe: more asst changes for stencil testing
Brian Paul [Wed, 17 Mar 2010 00:26:51 +0000 (18:26 -0600)]
gallivm/llvmpipe: more asst changes for stencil testing

14 years agogallivm/llmvpipe: pass stencil refs state into z/stencil build code
Brian Paul [Tue, 16 Mar 2010 20:32:18 +0000 (14:32 -0600)]
gallivm/llmvpipe: pass stencil refs state into z/stencil build code

14 years agollvmpipe: use new LP_JIT_CTX_ enums for jit context field positions
Brian Paul [Tue, 16 Mar 2010 20:11:43 +0000 (14:11 -0600)]
llvmpipe: use new LP_JIT_CTX_ enums for jit context field positions

Use the new enum values rather than integers in a few places.

14 years agollvmpipe: added stencil ref values to jit context state
Brian Paul [Tue, 16 Mar 2010 20:00:40 +0000 (14:00 -0600)]
llvmpipe: added stencil ref values to jit context state

14 years agollvmpipe: break lines
Brian Paul [Tue, 16 Mar 2010 19:50:19 +0000 (13:50 -0600)]
llvmpipe: break lines

14 years agointel: Replace mt->pitch with mt->region->pitch.
Eric Anholt [Wed, 17 Mar 2010 16:09:54 +0000 (09:09 -0700)]
intel: Replace mt->pitch with mt->region->pitch.

The pitch is not really an inherent part of the miptree, since it's
not part of any of the layout calculations, and it's dictated by the
libdrm-allocated region pitch now.