OSDN Git Service

android-x86/external-mesa.git
14 years agoes: Proper support for FEATURE_OES_draw_texture.
Chia-I Wu [Sun, 13 Sep 2009 11:04:37 +0000 (19:04 +0800)]
es: Proper support for FEATURE_OES_draw_texture.

Update default extensions and add DrawTex driver function.

14 years agomesa/swrast: Respect mfeatures.h.
Chia-I Wu [Tue, 8 Sep 2009 09:44:22 +0000 (17:44 +0800)]
mesa/swrast: Respect mfeatures.h.

FEATURE_accum, FEATURE_convolve, FEATURE_colortable, and FEATURE_drawpix
cover part of the functionalities of swrast module.  Disable them when
the features are disabled.

14 years agomesa/tnl: Respect mfeatures.h.
Chia-I Wu [Tue, 8 Sep 2009 09:57:43 +0000 (17:57 +0800)]
mesa/tnl: Respect mfeatures.h.

_tnl_RasterPos should be disabled with FEATURE_rastpos.

14 years agoes/main: Better glGetString support.
Chia-I Wu [Sat, 12 Sep 2009 18:22:38 +0000 (02:22 +0800)]
es/main: Better glGetString support.

14 years agoes/glapi: Remove unnecessary extensions from es_COMPAT.
Chia-I Wu [Sat, 12 Sep 2009 12:25:55 +0000 (20:25 +0800)]
es/glapi: Remove unnecessary extensions from es_COMPAT.

After disabling FEATURE_beginend, many of the extensions defined for
compatibility are not needed anymore.

14 years agomesa: New feature FEATURE_beginend.
Chia-I Wu [Sat, 12 Sep 2009 10:59:13 +0000 (18:59 +0800)]
mesa: New feature FEATURE_beginend.

This feature corresponds to the Begin/End paradigm.  Disabling this
feature also eliminates the use of GLvertexformat completely.

14 years agoprogs/es: Link to libX11.
Chia-I Wu [Thu, 3 Sep 2009 03:27:30 +0000 (11:27 +0800)]
progs/es: Link to libX11.

14 years agoes: fix comment
Brian Paul [Tue, 12 May 2009 20:30:40 +0000 (14:30 -0600)]
es: fix comment

14 years agoes: OpenGL ES 2.x demo programs
Brian Paul [Tue, 12 May 2009 20:29:47 +0000 (14:29 -0600)]
es: OpenGL ES 2.x demo programs

14 years agoes: updated Makefile comment
Brian Paul [Tue, 12 May 2009 20:29:33 +0000 (14:29 -0600)]
es: updated Makefile comment

14 years agoes: update window title
Brian Paul [Tue, 12 May 2009 20:29:24 +0000 (14:29 -0600)]
es: update window title

14 years agoes: OpenGL ES 1.x demo programs
Brian Paul [Tue, 12 May 2009 20:26:14 +0000 (14:26 -0600)]
es: OpenGL ES 1.x demo programs

14 years agost/es: Add OpenGL ES state trackers.
Chia-I Wu [Thu, 3 Sep 2009 03:31:17 +0000 (11:31 +0800)]
st/es: Add OpenGL ES state trackers.

14 years agoMakefile: Pack ES files.
Chia-I Wu [Thu, 10 Sep 2009 08:51:20 +0000 (16:51 +0800)]
Makefile: Pack ES files.

14 years agomesa/es: Add OpenGL ES overlay.
Chia-I Wu [Wed, 2 Sep 2009 02:58:31 +0000 (10:58 +0800)]
mesa/es: Add OpenGL ES overlay.

This is primitive support for OpenGL ES.  It uses a subset of mesa
sources to build libesXgallium.a and libesXapi.a, where X is 1 for
OpenGL ES 1.x, 2 for OpenGL ES 2.x.  The static libraries serve the same
purpose as libmesagallium.a and libglapi.a do for OpenGL.

This is based on the work of opengl-es branch.

14 years agomesa/es: Add OpenGL ES XMLs.
Chia-I Wu [Wed, 2 Sep 2009 04:04:56 +0000 (12:04 +0800)]
mesa/es: Add OpenGL ES XMLs.

14 years agoglapi: Add OpenGL ES compatibility mode to scripts.
Chia-I Wu [Thu, 3 Sep 2009 03:05:06 +0000 (11:05 +0800)]
glapi: Add OpenGL ES compatibility mode to scripts.

When the mode is on, the scripts would generate headers that are
suitable for OpenGL ES overlay, that will be later introduced.

14 years agoglapi: Prefix includes with glapi.
Chia-I Wu [Thu, 3 Sep 2009 03:03:20 +0000 (11:03 +0800)]
glapi: Prefix includes with glapi.

This allows different sets of generated headers to be used.

14 years agomesa/main: Add point size array.
Chia-I Wu [Mon, 7 Sep 2009 06:46:22 +0000 (14:46 +0800)]
mesa/main: Add point size array.

14 years agomesa: silence warning
Brian Paul [Tue, 12 May 2009 19:24:37 +0000 (13:24 -0600)]
mesa: silence warning

14 years agost: added preprocessor test for FEATURE_texture_s3tc
Brian Paul [Tue, 12 May 2009 19:24:20 +0000 (13:24 -0600)]
st: added preprocessor test for FEATURE_texture_s3tc

14 years agomesa: fix set_tex_parameteri() call
Brian Paul [Tue, 12 May 2009 19:23:43 +0000 (13:23 -0600)]
mesa: fix set_tex_parameteri() call

14 years agomesa/main: Provide dummy texformats when FEATURE_texture_s3tc is disabled.
Chia-I Wu [Wed, 9 Sep 2009 04:01:19 +0000 (12:01 +0800)]
mesa/main: Provide dummy texformats when FEATURE_texture_s3tc is disabled.

Instead of removing the related enums and texture formats, provide dummy
ones when the feature is disabled.

14 years agomesa/main: Provide dummy texformats when FEATURE_texture_fxt1 is disabled.
Chia-I Wu [Wed, 9 Sep 2009 03:12:49 +0000 (11:12 +0800)]
mesa/main: Provide dummy texformats when FEATURE_texture_fxt1 is disabled.

Instead of removing the related enums and texture formats, provide dummy
ones when the feature is disabled.

14 years agomesa/main: Export null texformat operations.
Chia-I Wu [Wed, 9 Sep 2009 03:54:10 +0000 (11:54 +0800)]
mesa/main: Export null texformat operations.

14 years agomesa/main: Make FEATURE_dlist follow feature conventions.
Chia-I Wu [Wed, 9 Sep 2009 07:00:08 +0000 (15:00 +0800)]
mesa/main: Make FEATURE_dlist follow feature conventions.

As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.

14 years agomesa/main: Make FEATURE_evaluators follow feature conventions.
Chia-I Wu [Tue, 8 Sep 2009 02:25:22 +0000 (10:25 +0800)]
mesa/main: Make FEATURE_evaluators follow feature conventions.

As shown in mfeatures.h, this allows users of eval.h to work without
knowing if the feature is available.  It is renamed to FEATURE_eval
along the way.

14 years agomesa/main: New feature FEATURE_queryobj.
Chia-I Wu [Tue, 8 Sep 2009 09:45:59 +0000 (17:45 +0800)]
mesa/main: New feature FEATURE_queryobj.

It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.

14 years agomesa/main: New feature FEATURE_arrayelt.
Chia-I Wu [Tue, 8 Sep 2009 06:32:08 +0000 (14:32 +0800)]
mesa/main: New feature FEATURE_arrayelt.

This allows the removal of AEcontext.

14 years agomesa/main: Make FEATURE_texgen follow feature conventions.
Chia-I Wu [Tue, 8 Sep 2009 03:01:19 +0000 (11:01 +0800)]
mesa/main: Make FEATURE_texgen follow feature conventions.

As shown in mfeatures.h, this allows users of texgen.h to work without
knowing if the feature is available.

14 years agomesa/main: Make FEATURE_feedback follow feature conventions.
Chia-I Wu [Tue, 8 Sep 2009 02:52:01 +0000 (10:52 +0800)]
mesa/main: Make FEATURE_feedback follow feature conventions.

As shown in mfeatures.h, this allows users of feedback.h to work without
knowing if the feature is available.

14 years agomesa/main: Make FEATURE_drawpix follow feature conventions.
Chia-I Wu [Tue, 8 Sep 2009 02:15:06 +0000 (10:15 +0800)]
mesa/main: Make FEATURE_drawpix follow feature conventions.

As shown in mfeatures.h, this allows users of drawpix.h to work
without knowing if the feature is available.

14 years agomesa/main: New feature FEATURE_rastpos.
Chia-I Wu [Tue, 8 Sep 2009 02:05:36 +0000 (10:05 +0800)]
mesa/main: New feature FEATURE_rastpos.

It is separated from FEATURE_drawpix and made to follow the feature
convensions.

14 years agomesa/main: Make FEATURE_histogram follow feature conventions.
Chia-I Wu [Mon, 7 Sep 2009 10:06:00 +0000 (18:06 +0800)]
mesa/main: Make FEATURE_histogram follow feature conventions.

As shown in mfeatures.h, this allows users of histogram.h to work without
knowing if the feature is available.

14 years agomesa/main: Make FEATURE_attrib_stack follow feature conventions.
Chia-I Wu [Mon, 7 Sep 2009 10:20:10 +0000 (18:20 +0800)]
mesa/main: Make FEATURE_attrib_stack follow feature conventions.

As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.

14 years agomesa/main: Make FEATURE_accum follow feature conventions.
Chia-I Wu [Mon, 7 Sep 2009 09:51:42 +0000 (17:51 +0800)]
mesa/main: Make FEATURE_accum follow feature conventions.

As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.

14 years agomesa/main: Make FEATURE_convolve follow feature conventions.
Chia-I Wu [Mon, 7 Sep 2009 09:28:24 +0000 (17:28 +0800)]
mesa/main: Make FEATURE_convolve follow feature conventions.

As shown in mfeatures.h, this allows users of convolve.h to work
without knowing if the feature is available.

14 years agomesa/main: Make FEATURE_colortable follow feature conventions.
Chia-I Wu [Mon, 7 Sep 2009 09:17:11 +0000 (17:17 +0800)]
mesa/main: Make FEATURE_colortable follow feature conventions.

As shown in mfeatures.h, this allows users of colortab.h to work
without knowing if the feature is available.

14 years agomesa/main: Make FEATURE_pixel_transfer follow feature conventions.
Chia-I Wu [Mon, 7 Sep 2009 08:59:27 +0000 (16:59 +0800)]
mesa/main: Make FEATURE_pixel_transfer follow feature conventions.

As shown in mfeatures.h, this allows users of pixel.h to work without
knowing if the feature is available.

14 years agomesa/main: Add comments to mfeatures.h.
Chia-I Wu [Mon, 7 Sep 2009 09:51:33 +0000 (17:51 +0800)]
mesa/main: Add comments to mfeatures.h.

The comments document the conventions that a feature may follow.

14 years agoAdd mine configs.
Chia-I Wu [Mon, 22 Jun 2009 02:40:03 +0000 (10:40 +0800)]
Add mine configs.

14 years agoi965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work.
Eric Anholt [Fri, 11 Sep 2009 21:09:03 +0000 (14:09 -0700)]
i965: Move OPCODE_DDX/DDY to brw_wm_emit.c and make it actually work.

Previously, it was trying to mess around with the varying's
WM setup data to produce a result.  Along with not actually working when
passed a varying, this wouldn't work if you did dFd[xy]() on a temporary.
Instead, just calculate the derivative using the neighbors in the subspan.

14 years agor600: fix texcoords from constants
Andre Maasikas [Fri, 11 Sep 2009 19:59:55 +0000 (15:59 -0400)]
r600: fix texcoords from constants

with some minor updates from Richard.

14 years agoRevert "r600: support tex coords from constants"
Alex Deucher [Fri, 11 Sep 2009 16:10:15 +0000 (12:10 -0400)]
Revert "r600: support tex coords from constants"

This reverts commit 4099bb76148007f9ccb6c86838b2bf37ea42de56.

Tex coord src has to be a GPR.

14 years agor300g: only allocate one BO for vertex buffers, default size is 64*1024
Cooper Yuan [Fri, 11 Sep 2009 15:21:28 +0000 (23:21 +0800)]
r300g: only allocate one BO for vertex buffers, default size is 64*1024

it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on

14 years agor600: support tex coords from constants
Alex Deucher [Fri, 11 Sep 2009 15:07:58 +0000 (11:07 -0400)]
r600: support tex coords from constants

Fixes neverball among other things.

14 years agor600: enable caching of vertex programs
Andre Maasikas [Fri, 11 Sep 2009 14:59:05 +0000 (10:59 -0400)]
r600: enable caching of vertex programs

14 years agollvmpipe: set dirty_render_cache in llvmpipe_clear()
José Fonseca [Fri, 11 Sep 2009 10:29:24 +0000 (11:29 +0100)]
llvmpipe: set dirty_render_cache in llvmpipe_clear()

Based on Brian's softpipe change on
commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile
cache for zsbuf though, only for color buffers.

14 years agollvmpipe: Update status in README and TODO/FIXME comments throughout the code.
José Fonseca [Fri, 11 Sep 2009 10:24:00 +0000 (11:24 +0100)]
llvmpipe: Update status in README and TODO/FIXME comments throughout the code.

14 years agoi965: Enable loops in the VS.
Eric Anholt [Thu, 10 Sep 2009 16:44:30 +0000 (09:44 -0700)]
i965: Enable loops in the VS.

Passes piglit glsl-vs-loop testcase.

Bug #20171

14 years agomesa: nicer vertex setup
Brian Paul [Fri, 11 Sep 2009 01:56:35 +0000 (19:56 -0600)]
mesa: nicer vertex setup

14 years agost/mesa: use st_context() helper
Brian Paul [Fri, 11 Sep 2009 01:40:53 +0000 (19:40 -0600)]
st/mesa: use st_context() helper

14 years agosoftpipe: remove no-op softpipe_init_texture_funcs() function
Brian Paul [Thu, 10 Sep 2009 22:51:52 +0000 (16:51 -0600)]
softpipe: remove no-op softpipe_init_texture_funcs() function

14 years agosoftpipe: remove unused #includes, move comment
Brian Paul [Thu, 10 Sep 2009 22:50:18 +0000 (16:50 -0600)]
softpipe: remove unused #includes, move comment

14 years agoutil: remove unneeded #includes
Brian Paul [Thu, 10 Sep 2009 22:45:25 +0000 (16:45 -0600)]
util: remove unneeded #includes

14 years agosoftpipe: reformatting, clean-ups, comments
Brian Paul [Thu, 10 Sep 2009 22:42:47 +0000 (16:42 -0600)]
softpipe: reformatting, clean-ups, comments

14 years agoutil: minor clean-ups, reformatting
Brian Paul [Thu, 10 Sep 2009 22:39:13 +0000 (16:39 -0600)]
util: minor clean-ups, reformatting

14 years agosoftpipe: remove unneeded #includes
Brian Paul [Thu, 10 Sep 2009 22:38:51 +0000 (16:38 -0600)]
softpipe: remove unneeded #includes

14 years agoMerge branch 'mesa_7_6_branch'
Brian Paul [Thu, 10 Sep 2009 21:41:52 +0000 (15:41 -0600)]
Merge branch 'mesa_7_6_branch'

14 years agost/xorg: rename ctx to pipe to match every other gallium state tracker
Zack Rusin [Wed, 9 Sep 2009 21:38:13 +0000 (17:38 -0400)]
st/xorg: rename ctx to pipe to match every other gallium state tracker

plus it avoids the "ctx->ctx->" syntax

14 years agoMerge branch 'mesa_7_5_branch' into mesa_7_6_branch
Brian Paul [Thu, 10 Sep 2009 21:40:26 +0000 (15:40 -0600)]
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch

14 years agointel: disable intel_stencil_drawpixels() for now
Brian Paul [Thu, 10 Sep 2009 21:34:34 +0000 (15:34 -0600)]
intel: disable intel_stencil_drawpixels() for now

It doesn't work reliably even when all the prerequisite checks are made.

14 years agost/xorg: temporarily disablie copies
Zack Rusin [Wed, 9 Sep 2009 21:16:02 +0000 (17:16 -0400)]
st/xorg: temporarily disablie copies

14 years agost/xorg: implement pipelines surface/texture copies
Zack Rusin [Wed, 9 Sep 2009 21:14:21 +0000 (17:14 -0400)]
st/xorg: implement pipelines surface/texture copies

14 years agost/xorg: unite finalization and stub out pipelined copies
Zack Rusin [Wed, 9 Sep 2009 20:08:00 +0000 (16:08 -0400)]
st/xorg: unite finalization and stub out pipelined copies

14 years agost/xorg: abstract flushing and syncing for the exa code
Zack Rusin [Wed, 9 Sep 2009 19:43:09 +0000 (15:43 -0400)]
st/xorg: abstract flushing and syncing for the exa code

14 years agost/xorg: disable solid fills until copies are accelerated as well
Zack Rusin [Wed, 9 Sep 2009 15:35:34 +0000 (11:35 -0400)]
st/xorg: disable solid fills until copies are accelerated as well

14 years agost/xorg: implement exasolids with full pipelining
Zack Rusin [Wed, 9 Sep 2009 15:33:33 +0000 (11:33 -0400)]
st/xorg: implement exasolids with full pipelining

plus fix some small issues with the shaders

14 years agost/xorg: start adding support for surface fills
Zack Rusin [Wed, 9 Sep 2009 09:34:56 +0000 (05:34 -0400)]
st/xorg: start adding support for surface fills

14 years agodocs: document Gallium glDrawPixels(GL_STENCIL_INDEX) fix
Brian Paul [Thu, 10 Sep 2009 20:15:07 +0000 (14:15 -0600)]
docs: document Gallium glDrawPixels(GL_STENCIL_INDEX) fix

14 years agosoftpipe: minor indentation fix
Brian Paul [Thu, 10 Sep 2009 20:14:18 +0000 (14:14 -0600)]
softpipe: minor indentation fix

14 years agosoftpipe: set dirty_render_cache in softpipe_clear()
Brian Paul [Thu, 10 Sep 2009 20:11:36 +0000 (14:11 -0600)]
softpipe: set dirty_render_cache in softpipe_clear()

This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right
after a glClear().  The check-for-flush test was failing because we
didn't set the dirty_render_cache flag in softpipe_clear().  So we saw
stale data when we mapped the stencil buffer.

14 years agonv50: Fix tiling mode for lower mipmap levels.
Marcin Kościelnicki [Thu, 10 Sep 2009 18:26:42 +0000 (18:26 +0000)]
nv50: Fix tiling mode for lower mipmap levels.

14 years agodocs: initial 7.5.2 release notes page
Brian Paul [Thu, 10 Sep 2009 18:50:08 +0000 (12:50 -0600)]
docs: initial 7.5.2 release notes page

14 years agoFix merge fail
Ian Romanick [Thu, 10 Sep 2009 18:44:53 +0000 (11:44 -0700)]
Fix merge fail

One of the conflicst from this merge was missed:

commit 0c309bb494b6ee1c403442d1207743f749f95b6e
Merge: c6c44bf d27d659
Author: Brian Paul <brianp@vmware.com>
Date:   Wed Sep 9 08:33:39 2009 -0600

14 years agotgsi: use new tgsi_call_record to handle execution mask stacks
Brian Paul [Thu, 10 Sep 2009 18:44:28 +0000 (12:44 -0600)]
tgsi: use new tgsi_call_record to handle execution mask stacks

This fixes some issues when "return"ing from nested loops/conditionals.

14 years agomesa: need to set all stencil bits to 0 before setting the 1 bits
Brian Paul [Thu, 10 Sep 2009 16:17:07 +0000 (10:17 -0600)]
mesa: need to set all stencil bits to 0 before setting the 1 bits

Plus, check for pixel transfer stencil index/offset.

14 years agoMerge branch 'mesa_7_5_branch' into mesa_7_6_branch
Ian Romanick [Thu, 10 Sep 2009 18:24:56 +0000 (11:24 -0700)]
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch

Conflicts:
src/mesa/drivers/dri/intel/intel_context.c

14 years agoi965: Fix relocation delta for WM surfaces.
Eric Anholt [Wed, 9 Sep 2009 19:35:30 +0000 (12:35 -0700)]
i965: Fix relocation delta for WM surfaces.

This was a regression in 0f328c90dbc893e15005f2ab441d309c1c176245.

Bug #23688
Bug #23254
(cherry picked from commit 5604b27b9326ac542069a49ed9650c4b0d3e939a)

14 years agointel: add B43 chipset support
Zhenyu Wang [Mon, 7 Sep 2009 08:18:57 +0000 (16:18 +0800)]
intel: add B43 chipset support

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Hopefully this will be one of the last cherry-picks.

(cherry picked from commit ca246dd186f9590f6d67038832faceb522138c20)

14 years agointel: Don't forget to map the depth read buffer in spans.
Eric Anholt [Thu, 10 Sep 2009 16:26:38 +0000 (09:26 -0700)]
intel: Don't forget to map the depth read buffer in spans.

This broke BlitFramebufferEXT(GL_DEPTH_BUFFER_BIT).

14 years agor300: enable rb3d_discard_src_pixel_lte_threshold for more chips on dri2
Alex Deucher [Thu, 10 Sep 2009 16:04:38 +0000 (12:04 -0400)]
r300: enable rb3d_discard_src_pixel_lte_threshold for more chips on dri2

14 years agor300: add full support for two sided stencil on r5xx for dri2
Alex Deucher [Thu, 10 Sep 2009 16:01:19 +0000 (12:01 -0400)]
r300: add full support for two sided stencil on r5xx for dri2

14 years agomesa: fix cut&paste typos
Mathias Frohlich [Thu, 10 Sep 2009 14:50:01 +0000 (08:50 -0600)]
mesa: fix cut&paste typos

14 years agomesa: in texenvprogram code, only do saturation when really needed.
Brian Paul [Thu, 10 Sep 2009 14:41:12 +0000 (08:41 -0600)]
mesa: in texenvprogram code, only do saturation when really needed.

For some env modes (like modulate or replace) we don't have to clamp
because we know the results will be in [0,1].

14 years agogallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.
Vinson Lee [Thu, 10 Sep 2009 14:39:26 +0000 (08:39 -0600)]
gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.

Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.

14 years agoutil: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.
Vinson Lee [Thu, 10 Sep 2009 14:33:57 +0000 (15:33 +0100)]
util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.

Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.

14 years agoradeon: Change debugging code to use macros instead of inline functions.
Pauli Nieminen [Thu, 10 Sep 2009 13:41:59 +0000 (16:41 +0300)]
radeon: Change debugging code to use macros instead of inline functions.

Variadic functions can't be inlined which makes debugging to have quite large
function overead. Only aleternative method is to use variadic macros which are
inlined so compiler can optimize debugging to minimize overhead.

14 years agollvmpipe: Fix alpha test.
José Fonseca [Thu, 10 Sep 2009 12:35:39 +0000 (13:35 +0100)]
llvmpipe: Fix alpha test.

14 years agollvmpipe: Mask out color channels not present in the color buffer.
José Fonseca [Thu, 10 Sep 2009 11:37:44 +0000 (12:37 +0100)]
llvmpipe: Mask out color channels not present in the color buffer.

14 years agollvmpipe: Fix sampling from depth textures. Respect texture compare func.
José Fonseca [Thu, 10 Sep 2009 11:14:53 +0000 (12:14 +0100)]
llvmpipe: Fix sampling from depth textures. Respect texture compare func.

Fixes Mesa shadowtex sample.

14 years agollvmpipe: Skip blending when mask is zero.
José Fonseca [Thu, 10 Sep 2009 11:01:42 +0000 (12:01 +0100)]
llvmpipe: Skip blending when mask is zero.

This increases quake3 timedemo fps another 10%.

14 years agollvmpipe: Proper control flow builders.
José Fonseca [Thu, 10 Sep 2009 10:44:03 +0000 (11:44 +0100)]
llvmpipe: Proper control flow builders.

New control flow helper functions which keep track of all variables
and generate the correct Phi functions.

This re-enables skipping the fs execution of quads masked out by
the rasterizer, early z testing, and kill opcode.

This yields a performance improvement of around 20%.

14 years agollvmpipe: Copy the texture target into the sampler static state.
José Fonseca [Thu, 10 Sep 2009 08:19:51 +0000 (09:19 +0100)]
llvmpipe: Copy the texture target into the sampler static state.

Hunk forgotten in previous commit.

14 years agollvmpipe: Quick hack for 1D textures.
José Fonseca [Wed, 9 Sep 2009 20:46:18 +0000 (21:46 +0100)]
llvmpipe: Quick hack for 1D textures.

14 years agoscons: Pass -mstackrealign option to gcc.
José Fonseca [Wed, 9 Sep 2009 20:45:08 +0000 (21:45 +0100)]
scons: Pass -mstackrealign option to gcc.

It is impossible to have gcc generate SSE code without it, as thirdparty
applications often call us with an unaligned stack pointer.

14 years agollvmpipe: Fix depth mask computation.
José Fonseca [Wed, 9 Sep 2009 20:17:20 +0000 (21:17 +0100)]
llvmpipe: Fix depth mask computation.

Fixes depth test for 24bit depth formats.

14 years agollvmpipe: Include zsbuf's format in the fragment shader key.
José Fonseca [Wed, 9 Sep 2009 20:16:06 +0000 (21:16 +0100)]
llvmpipe: Include zsbuf's format in the fragment shader key.

14 years agoutil: Fix depth/stencil format description.
José Fonseca [Wed, 9 Sep 2009 20:13:52 +0000 (21:13 +0100)]
util: Fix depth/stencil format description.

Inverse channel order.

14 years agollvmpipe: Debug function to check stack alignment.
José Fonseca [Wed, 9 Sep 2009 18:21:22 +0000 (19:21 +0100)]
llvmpipe: Debug function to check stack alignment.

Doing alignment check in locus is redundant, as gcc alignment assumptions
will optimize away the check.