aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
...
* gallium/auxiliary/util: Solaris also has standard Unix socketsAlan Coopersmith2011-10-272-4/+8
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* r300/compiler: Fix scheduler bug causing texture corruptionTom Stellard2011-10-271-6/+35
| | | | | | | | | | | | | | We weren't setting TEX_SEM_WAIT on instructions that read the value of a TEX instruction and also wrote the same register as the TEX instruction. This is the sequence we were miscompiling: 1: TEX temp[0], input[2].xy__, 2D[0] ... 16: src0.xyz = temp[22], src1.xyz = temp[0], src2.xyz = temp[19] MAD temp[0].xyz, src0.xxx, src1.xyz, src2.xxx https://bugs.freedesktop.org/show_bug.cgi?id=42090
* r600g: remove redundant variable r600_pipe_context::blitMarek Olšák2011-10-273-4/+2
|
* st/glx: fix mixed declarations and code, remove unused varBrian Paul2011-10-261-7/+7
|
* r600g: remove redundant assignment of pipe_draw_info in draw_vboMarek Olšák2011-10-261-2/+0
|
* llvmpipe: llvmpipe doesn't support pure integers yet.Dave Airlie2011-10-262-0/+8
| | | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=42240 Signed-off-by: Dave Airlie <[email protected]>
* r600g: cleanup draw_vbo and add commentsMarek Olšák2011-10-264-93/+71
|
* st/glx: Implement texture_from_pixmap without DRI.Stéphane Marchesin2011-10-253-9/+136
| | | | Makes texture_from_pixmap work with non-DRI llvmpipe.
* i915g: Cleanup the vertex sampler interface a bit.Stéphane Marchesin2011-10-253-9/+5
|
* i915g: Flesh out TODO idea.Stéphane Marchesin2011-10-251-1/+3
|
* tgsi: Fix memory leak in out-of-memory path.Vinson Lee2011-10-251-7/+10
| | | | | | Fixes Coverity resource leak defect. Reviewed-by: Brian Paul <[email protected]>
* r600g: move some code out of draw_vbo into new r600_update_derived_stateMarek Olšák2011-10-251-20/+31
|
* r600g: cleanup some magic numbersMarek Olšák2011-10-252-4/+16
|
* r600g: don't render if pipe_draw_info::count is 0Marek Olšák2011-10-251-6/+8
| | | | Also call r600_conv_pipe_prim earlier.
* pp: Fix memory leak on error path.Vinson Lee2011-10-251-1/+2
| | | | | | Fixes Coverity resource leak defect. Reviewed-by: José Fonseca <[email protected]>
* r600g: set correct tiling flags in depth infoMarek Olšák2011-10-252-9/+13
| | | | | The kernel currently overwrites the flags, but if we stopped doing that, this would break badly.
* util: handle failed mapping in u_upload_alloc()Brian Paul2011-10-241-0/+5
| | | | Reviewed-by: José Fonseca <[email protected]>
* util: handle failed mapping in u_upload_alloc_buffer()Brian Paul2011-10-241-1/+6
| | | | Reviewed-by: José Fonseca <[email protected]>
* r300g: expose ARB_ES2_compatibility by claiming FIXED format supportMarek Olšák2011-10-242-2/+8
|
* nv50: fix max texture levelsAdel Gadllah2011-10-241-3/+3
| | | | | MAX_TEXTURE_2D_LEVELS and MAX_TEXTURE_CUBE_LEVELS are supposed to be 14 not 13, while MAX_TEXTURE_3D_LEVELS should be 12 not 10.
* winsys/radeon: don't use the new GEM_WAIT ioctl for nowMarek Olšák2011-10-241-4/+6
|
* winsys/radeon: restore the old r600g winsys memory characteristics.Mathias Fröhlich2011-10-241-0/+5
| | | | | | | | | Use VRAM for static and immutable buffers. This restores the recently removed r600g winsys behaviour for memory locations. This also improoves rendering times on the gpu for some OpenSceneGraph based test cases by about 15%. Signed-off-by: Marek Olšák <[email protected]>
* util: remove gotos in u_upload_mgr.cBrian Paul2011-10-241-16/+8
| | | | | | | We can trivially remove the gotos in two places in this code and make it a bit more readable. Reviewed-by: José Fonseca <[email protected]>
* r300g: don't call u_trim_pipe_prim in r300_swtcl_draw_vboMarek Olšák2011-10-231-5/+0
| | | | This was dead code anyway.
* u_blitter: accept overriden width0 and height0Marek Olšák2011-10-232-79/+57
| | | | We'll use this soon.
* u_blitter: add a copy_texture function which uses views and not resourcesMarek Olšák2011-10-232-115/+117
| | | | | The views (sampler views and surfaces) are great tools for changing resource properties without having to change pipe_resource.
* llvmpipe: point out that there's two stencil writemasksBrian Paul2011-10-231-3/+4
| | | | | | | In lp_build_stencil_op() the incoming 'stencil' var is a 2-element array. There's a front-face writemask and a back-face writemask but we're ignoring the later. This patch doesn't fix anything but at least points out the problem.
* llvmpipe: compare front_facing to NULL to improve readabilityBrian Paul2011-10-231-2/+2
| | | | | Compare 'front_facing' to NULL to make it more obvious that front_facing is a pointer and not a simple boolean value.
* gallivm: added lp_build_print_ivec4() functionBrian Paul2011-10-232-0/+24
|
* dri-r600: Hook up a drm_descriptor configuration functionMathias Fröhlich2011-10-231-1/+17
| | | | | Returns a configuration that makes the dri state-tracker-manager throttle.
* r600g: make r[67]00 not bail out on PRED_SETNE_INT.Mathias Fröhlich2011-10-231-0/+1
|
* r600g: make if's use PRED_SETNE_INT no matter what.Dave Airlie2011-10-222-1/+2
| | | | | | | This is more correct for TGSI if, and with native ints enabled it fixes 25 piglit fails. Signed-off-by: Dave Airlie <[email protected]>
* r600g: print inst in hex in dumpsDave Airlie2011-10-221-6/+6
| | | | | | since we have them as hex in the headers. Signed-off-by: Dave Airlie <[email protected]>
* r600g: drop specific i2f it should be a trans only op2.Dave Airlie2011-10-221-27/+1
| | | | Signed-off-by: Dave Airlie <[email protected]>
* gallium/targets: Add vdpau target for nouveauMaarten Lankhorst2011-10-212-0/+46
| | | | | | | | | | | Should fall back to shader based decoding (g3dvl) for now. This is probably broken on systems that support xvmc, because nouveau_video_buffer_create has no way to know for what api the buffer is created, so I think this call might need a separate argument as workaround. Signed-off-by: Maarten Lankhorst <[email protected]>
* d3d1x: set primitive restart in the correct draw callsChristoph Bumiller2011-10-211-9/+9
|
* nv50/ir: import SM4 converterChristoph Bumiller2011-10-214-4/+2513
|
* nouveau,nvc0: fix/improve handling of multiple constant buffersChristoph Bumiller2011-10-218-35/+111
|
* nvc0: add support for linear and buffer textures and RTsChristoph Bumiller2011-10-218-82/+213
|
* nvc0: add support for clip distance shader outputsChristoph Bumiller2011-10-216-16/+88
|
* nvc0: handle more query typesChristoph Bumiller2011-10-213-49/+204
|
* nvc0: fix location of the PrimitiveID outputChristoph Bumiller2011-10-211-4/+6
|
* nvc0: prevent VERTEXID/INSTANCEID from consuming input slotsChristoph Bumiller2011-10-211-3/+15
|
* nvc0: fixes for program tessellation parametersChristoph Bumiller2011-10-212-17/+47
|
* nv50,nvc0: reset per-instance state for inactive vertex elementsChristoph Bumiller2011-10-212-0/+6
|
* nv50,nvc0: reset base element in draw_arraysChristoph Bumiller2011-10-212-0/+11
| | | | It affects VERTEX_BUFFER_FIRST,COUNT submission, too.
* nvc0: apply first_layer offset to all resources with array_sizeChristoph Bumiller2011-10-211-3/+1
| | | | Makes CUBE arrays work with d3d1x.
* nvc0: emit state to allow GP to select the RT layerChristoph Bumiller2011-10-211-1/+4
|
* nvc0: validate GP samplers, texturesChristoph Bumiller2011-10-211-0/+2
|
* nvc0: fix clear_render_target/depth_stencil regionChristoph Bumiller2011-10-211-19/+21
| | | | In all 3 dimensions (now clearing all layers too).