summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* svgadump: Update for svga3d_reg.h header changes.José Fonseca2011-09-231-33/+60
|
* svga: updated svga3d_reg.h to latest public versionBrian Paul2011-09-231-49/+144
|
* Allow RBUG to start blockedAlex Corscadden2011-09-231-0/+4
| | | | | | | | | It is sometimes useful to examine the first frame or and early frame of a quickly executing and non-repeating application, this chain introduces a new environment variable that is checked when creating contexts. If GALLIUM_RBUG_START_BLOCKED is set, then each context that is created is started in a blocked state. This allows time to connect rbug before anything is rendered in the context.
* draw/llvm: add additional null pointer checkin ↵Brian Paul2011-09-231-1/+1
| | | | draw_pt_fetch_pipeline_or_emit_llvm()
* i915g: Don't generate useless swizzles before texture accesses.Stéphane Marchesin2011-09-223-10/+62
| | | | That helps reduce the number of texture indirections, which are very limited on i915.
* i915g: Fix whitespace.Stéphane Marchesin2011-09-221-13/+13
|
* i915g: Fix peephole optimization for MOVs.Stéphane Marchesin2011-09-221-0/+8
|
* i915g: Add unsupported PIPE_CAP_MIN_TEXEL_OFFSET/PIPE_CAP_MAX_TEXEL_OFFSET.Stéphane Marchesin2011-09-221-0/+3
|
* d3d1x: setup draw info primitive restart parametersChristoph Bumiller2011-09-221-3/+22
|
* draw: add support for guard-band clippingBrian Paul2011-09-229-7/+51
|
* draw: Reduce the number of vertex shader variants per context to 128.José Fonseca2011-09-221-1/+1
|
* draw: Respect max_indices from the renderer.Kurt Daverman2011-09-221-1/+1
|
* translate: check for PIPE_SUBSYSTEM_EMBEDDEDBrian Paul2011-09-221-1/+1
|
* tgsi: Check in scan for fs position and depth readsJakob Bornecrantz2011-09-222-0/+17
|
* svga: skip assertion when index_bias < 0Brian Paul2011-09-221-1/+1
| | | | See bug 688383
* svga: fix the test for sRGB texture formatsBrian Paul2011-09-221-1/+2
| | | | | | | | | | The pipe_sampler_view::format field should be prefered over the resource/ texture format. The former is used to override the texture format for sRGB decode enable/disable, etc. Also, use new util_format_is_srgb() helper to catch all sRGB formats. This fixes the piglit tex-srgb test for GL_EXT_texture_sRGB_decode.
* gallium/util: add util_format_is_srgb() helperBrian Paul2011-09-221-0/+7
|
* util: add u_bit_scan helperKeith Whitwell2011-09-222-7/+16
|
* util: Allow to make the depth/stencil format queries without repeatedly ↵José Fonseca2011-09-221-9/+20
| | | | | | | looking up the format description. All functions here should take struct util_format_description * IMO, to incentive efficient code.
* util: single call to util_format_description in fill_rectKeith Whitwell2011-09-221-3/+4
|
* util: Handle conversion between depth stencil formats.José Fonseca2011-09-221-0/+44
|
* i915g: Add an optimization to get rid of useless movs, in particular at the ↵Stéphane Marchesin2011-09-211-3/+38
| | | | end of some shaders.
* i915g: Fix some whitespace problems.Stéphane Marchesin2011-09-212-12/+12
|
* i915g: Blend equation separate seems to work.Stéphane Marchesin2011-09-211-6/+1
|
* i915g: Add ifdef'd out code to dump compiled shaders.Stéphane Marchesin2011-09-211-0/+4
|
* i915g: Fix bug in shader optimizer.Stéphane Marchesin2011-09-211-2/+2
|
* i915g: Remove stale function prototype.Stéphane Marchesin2011-09-211-6/+0
|
* svga: call u_default_redefine_user_buffer() to fix failed assertionBrian Paul2011-09-211-5/+2
| | | | | | | | | | | This fixes a regression from a8cf4b6acf9ee996090cc0bb95fa3558b481108c The problem occured when two successive glDrawArrays calls accessed subsequent elements in user-space arrays. The user-space array from the first call wasn't being grown to accomodate the second draw call's elements. Reviewed-by: Thomas Hellstrom <[email protected]>
* util: remove stray debug codeBrian Paul2011-09-211-2/+0
|
* gallivm: fix build with llvm 3.0svnBrian Paul2011-09-211-2/+8
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=41065
* st/vega: fix drawing images with alpha channelChia-I Wu2011-09-212-18/+22
| | | | | | | | | | Checking if the paints are opaque in renderer_validate_blend() does not work. We could be drawing images. Remove the check from renderer_validate_blend() and take image drawing into consideration in blend_use_shader(). The bug was introduced by 3f0a966807f03a364edea0272ddf45f08ab7ce4f, which affects the lookup demo.
* st/vega: fix vg_context_is_object_valid()Chia-I Wu2011-09-217-25/+21
| | | | | | | | | | vg_context_is_object_valid() checks if a handle is valid by checking if the handle is a valid key of the object hash table. However, the keys of the object hash table were object pointers. Fix vg_context_add_object() to use the handles as the keys so that vg_context_is_object_valid() works. This bug was introduced by 99c67f27d35a4bbbbefada8117d5972c7583cf42.
* llvmpipe: silence a pointer type warningBrian Paul2011-09-201-1/+1
|
* gallium/util: observe sampler view's first_level in util_blit_pixels_tex()Brian Paul2011-09-201-6/+10
| | | | This lets us blit from a non-zero source level.
* mesa/gallium: remove GLchan from latc, rgtc codeBrian Paul2011-09-202-15/+15
|
* gallium: remove trailing comma to silence warningBrian Paul2011-09-201-1/+1
|
* Gallium: Increase PIPE_MAX_CLIP_PLANES to 8.Paul Berry2011-09-201-1/+1
| | | | | | | | Since Mesa is now capable of supporting up to 8 clipping planes instead of 6, this patch updates Gallium internals to support 8 clipping planes as well. Reviewed-by: Brian Paul <[email protected]>
* Gallium: remove unnecessary ifdef for MAX_CLIPPED_VERTICES.Paul Berry2011-09-201-2/+0
| | | | | | | | | | | draw_pipe_clip.c contained an ifdef to ensure that its local definition of MAX_CLIPPED_VERTICES would not take effect if the global MAX_CLIPPED_VERTICES (defined in src/mesa/main/config.h) was already defined. This was unnecessary because draw_pipe_clip.c doesn't directly or indirectly include src/mesa/main/config.h. Removed the ifdef to reduce confusion. Reviewed-by: Brian Paul <[email protected]>
* scons: MacOSX build fixes.José Fonseca2011-09-201-4/+6
|
* st/egl: add support for null platformChia-I Wu2011-09-205-2/+216
| | | | | The backend calls null_sw_create() to create sw_winsys. And that is pretty much it...
* Update llvmpipe's gitignoreNicholas Miell2011-09-191-0/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* graw: fix tests to build on msvc again.Dave Airlie2011-09-1910-10/+10
| | | | | | Should fix https://bugs.freedesktop.org/show_bug.cgi?id=40997 Signed-off-by: Dave Airlie <[email protected]>
* r300/compiler: Fix regalloc for values with multiple writersTom Stellard2011-09-181-3/+6
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=40062 https://bugs.freedesktop.org/show_bug.cgi?id=36939 Note: This is a candidate for the 7.11 branch.
* gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie2011-09-1856-198/+245
| | | | | | | | | | | | | | | This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <[email protected]>
* d3d1x: fix parsing of SM4 relative addressing register opChristoph Bumiller2011-09-171-1/+1
|
* d3d1x: set flatshade_first in rasterizer stateChristoph Bumiller2011-09-172-0/+2
| | | | D3D10 specifies the first vertex as the leading/provoking one.
* d3d1x: initialize point size and line width to 1Christoph Bumiller2011-09-172-0/+4
| | | | | | Otherwise lines would never be visible since the width cannot be specified in D3D10. Wireframe mode is also affected by line width.
* r300/compiler: Add support for the output modifier (OMOD)Tom Stellard2011-09-1616-25/+310
|
* r300/compiler: Move some helper functions to radeon_compiler_util.cTom Stellard2011-09-163-33/+68
|
* r300/compiler: Don't unroll loops that conditionally increment the counterTom Stellard2011-09-161-2/+14
|