summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* swrast: fix comment typo (s/texure/texture/)Brian Paul2011-10-231-1/+1
|
* mesa: remove dead code from teximage.cBrian Paul2011-10-231-29/+0
|
* mesa: Fix multithreaded buffer object refcounting.Mathias Fröhlich2011-10-231-72/+151
| | | | | | | | | | Buffer objects may be shared across contexts. Rework the array attrib push/pop implementation to be thread safe. Make use of more library functions for this purpose. Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Brian Paul <[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.
* intel: remove duplicated #include of texstore.hBrian Paul2011-10-231-1/+0
|
* radeon: remove unnecessary #includes of texstore.hBrian Paul2011-10-234-4/+0
|
* configs: add vmgfx-related dirs to configs/linux-driBrian Paul2011-10-231-3/+3
|
* swrast: update renderbuffer format assertionBrian Paul2011-10-231-1/+4
| | | | Failed when exercising i965 swrast fallback rendering.
* mesa: add swrast_texture_image::BufferBrian Paul2011-10-238-36/+225
| | | | | | | | | | | | | | | In the past, swrast_texture_image::Data has been overloaded. It could either point to malloc'd memory storing texture data, or it could point to a current mapping of GPU memory. Now, Buffer always points to malloc'd memory (if we're not using GPU memory) and Data always points to mapped memory. The next step would be to rename Data -> Map. This change also involves adding swrast functions for mapping textures and renderbuffers prior to rendering to setup the Data pointer. Plus, corresponding functions to unmap texures and renderbuffers. This is very much like similar code in the dri drivers.
* mesa: remove _mesa_alloc_texmemory(), _mesa_free_texmemory()Brian Paul2011-10-237-64/+9
| | | | Core Mesa no longer does any texture memory allocation.
* mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrastBrian Paul2011-10-2327-177/+206
| | | | | | Only swrast and the drivers that fall back to swrast need these fields now. This removes the last of the fields related to software rendering from gl_texture_image.
* 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
|
* mesa: improve the warning message in _mesa_choose_tex_format()Brian Paul2011-10-231-1/+3
| | | | Bug 42128 hits this _mesa_warning() call.
* glsl: Add support for constant expression evaluation on round(), roundEven().Eric Anholt2011-10-231-0/+29
| | | | | | | | | | | | v2: Avoid the C99 rounding functions, because I don't trust get/setting the C99 rounding mode from inside our library not having other side effects. Instead, open-code roundEven() behavior around Mesa's IROUND, which we're already testing for C99 rounding mode safety. Fixes glsl-1.30/compiler/built-in-functions/round* Reviewed-by: Kenneth Graunke <[email protected]>
* 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]>
* vbo: Clean up unused variables in the vbo module.Mathias Froehlich2011-10-223-16/+1
| | | | | Remove some unused or unused but set variables from the vbo module.
* Convert additional GNUC_MINOR checks to multiplied versionAlan Coopersmith2011-10-211-3/+3
| | | | | | Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* Fix gcc version checks for _mesa_bitcountAlan Coopersmith2011-10-212-2/+2
| | | | | | | | | | | | | | - Fix _GNUC__ typo in both checks - Fix logic error in check for gcc < 3.4 that breaks for gcc 2.x & older Without this fix, builds with gcc 3.4.x end up depending on undefined _mesa_bitcount instead of gcc's __builtin_popcount. NOTE: This is a candidate for the stable branches. Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* gallium/targets: Add vdpau target for nouveauMaarten Lankhorst2011-10-213-1/+47
| | | | | | | | | | | 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).
* nvc0: fix assertion that immediate array buffer fitsChristoph Bumiller2011-10-211-1/+1
|
* nv50/ir: use RDSV to fetch FrontFacing before loweringChristoph Bumiller2011-10-214-13/+33
|
* nv50/ir: fix textureGrad with offsets and in non-FPsChristoph Bumiller2011-10-214-3/+14
|
* nv50/ir: add wrap mode for shift operationsChristoph Bumiller2011-10-213-2/+5
| | | | D3D1x specifies that only the low 5 bit of the shift are used.
* nv50/ir: initialize RelocInfo to 0Christoph Bumiller2011-10-211-0/+2
|
* nvc0/ir: fix emission of cvt when register and type size differChristoph Bumiller2011-10-211-2/+3
|
* nv50/ir: fix argument count for CUBE_ARRAY texture targetChristoph Bumiller2011-10-212-4/+4
|
* nvc0/ir: GP emit address must end up in $r0Christoph Bumiller2011-10-211-0/+4
|