Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: fix comment typo (s/texure/texture/) | Brian Paul | 2011-10-23 | 1 | -1/+1 |
| | |||||
* | mesa: remove dead code from teximage.c | Brian Paul | 2011-10-23 | 1 | -29/+0 |
| | |||||
* | mesa: Fix multithreaded buffer object refcounting. | Mathias Fröhlich | 2011-10-23 | 1 | -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_vbo | Marek Olšák | 2011-10-23 | 1 | -5/+0 |
| | | | | This was dead code anyway. | ||||
* | u_blitter: accept overriden width0 and height0 | Marek Olšák | 2011-10-23 | 2 | -79/+57 |
| | | | | We'll use this soon. | ||||
* | u_blitter: add a copy_texture function which uses views and not resources | Marek Olšák | 2011-10-23 | 2 | -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.h | Brian Paul | 2011-10-23 | 1 | -1/+0 |
| | |||||
* | radeon: remove unnecessary #includes of texstore.h | Brian Paul | 2011-10-23 | 4 | -4/+0 |
| | |||||
* | configs: add vmgfx-related dirs to configs/linux-dri | Brian Paul | 2011-10-23 | 1 | -3/+3 |
| | |||||
* | swrast: update renderbuffer format assertion | Brian Paul | 2011-10-23 | 1 | -1/+4 |
| | | | | Failed when exercising i965 swrast fallback rendering. | ||||
* | mesa: add swrast_texture_image::Buffer | Brian Paul | 2011-10-23 | 8 | -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 Paul | 2011-10-23 | 7 | -64/+9 |
| | | | | Core Mesa no longer does any texture memory allocation. | ||||
* | mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast | Brian Paul | 2011-10-23 | 27 | -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 writemasks | Brian Paul | 2011-10-23 | 1 | -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 readability | Brian Paul | 2011-10-23 | 1 | -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() function | Brian Paul | 2011-10-23 | 2 | -0/+24 |
| | |||||
* | mesa: improve the warning message in _mesa_choose_tex_format() | Brian Paul | 2011-10-23 | 1 | -1/+3 |
| | | | | Bug 42128 hits this _mesa_warning() call. | ||||
* | glsl: Add support for constant expression evaluation on round(), roundEven(). | Eric Anholt | 2011-10-23 | 1 | -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 function | Mathias Fröhlich | 2011-10-23 | 1 | -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öhlich | 2011-10-23 | 1 | -0/+1 |
| | |||||
* | r600g: make if's use PRED_SETNE_INT no matter what. | Dave Airlie | 2011-10-22 | 2 | -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 dumps | Dave Airlie | 2011-10-22 | 1 | -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 Airlie | 2011-10-22 | 1 | -27/+1 |
| | | | | Signed-off-by: Dave Airlie <[email protected]> | ||||
* | vbo: Clean up unused variables in the vbo module. | Mathias Froehlich | 2011-10-22 | 3 | -16/+1 |
| | | | | | Remove some unused or unused but set variables from the vbo module. | ||||
* | Convert additional GNUC_MINOR checks to multiplied version | Alan Coopersmith | 2011-10-21 | 1 | -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_bitcount | Alan Coopersmith | 2011-10-21 | 2 | -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 nouveau | Maarten Lankhorst | 2011-10-21 | 3 | -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 calls | Christoph Bumiller | 2011-10-21 | 1 | -9/+9 |
| | |||||
* | nv50/ir: import SM4 converter | Christoph Bumiller | 2011-10-21 | 4 | -4/+2513 |
| | |||||
* | nouveau,nvc0: fix/improve handling of multiple constant buffers | Christoph Bumiller | 2011-10-21 | 8 | -35/+111 |
| | |||||
* | nvc0: add support for linear and buffer textures and RTs | Christoph Bumiller | 2011-10-21 | 8 | -82/+213 |
| | |||||
* | nvc0: add support for clip distance shader outputs | Christoph Bumiller | 2011-10-21 | 6 | -16/+88 |
| | |||||
* | nvc0: handle more query types | Christoph Bumiller | 2011-10-21 | 3 | -49/+204 |
| | |||||
* | nvc0: fix location of the PrimitiveID output | Christoph Bumiller | 2011-10-21 | 1 | -4/+6 |
| | |||||
* | nvc0: prevent VERTEXID/INSTANCEID from consuming input slots | Christoph Bumiller | 2011-10-21 | 1 | -3/+15 |
| | |||||
* | nvc0: fixes for program tessellation parameters | Christoph Bumiller | 2011-10-21 | 2 | -17/+47 |
| | |||||
* | nv50,nvc0: reset per-instance state for inactive vertex elements | Christoph Bumiller | 2011-10-21 | 2 | -0/+6 |
| | |||||
* | nv50,nvc0: reset base element in draw_arrays | Christoph Bumiller | 2011-10-21 | 2 | -0/+11 |
| | | | | It affects VERTEX_BUFFER_FIRST,COUNT submission, too. | ||||
* | nvc0: apply first_layer offset to all resources with array_size | Christoph Bumiller | 2011-10-21 | 1 | -3/+1 |
| | | | | Makes CUBE arrays work with d3d1x. | ||||
* | nvc0: emit state to allow GP to select the RT layer | Christoph Bumiller | 2011-10-21 | 1 | -1/+4 |
| | |||||
* | nvc0: validate GP samplers, textures | Christoph Bumiller | 2011-10-21 | 1 | -0/+2 |
| | |||||
* | nvc0: fix clear_render_target/depth_stencil region | Christoph Bumiller | 2011-10-21 | 1 | -19/+21 |
| | | | | In all 3 dimensions (now clearing all layers too). | ||||
* | nvc0: fix assertion that immediate array buffer fits | Christoph Bumiller | 2011-10-21 | 1 | -1/+1 |
| | |||||
* | nv50/ir: use RDSV to fetch FrontFacing before lowering | Christoph Bumiller | 2011-10-21 | 4 | -13/+33 |
| | |||||
* | nv50/ir: fix textureGrad with offsets and in non-FPs | Christoph Bumiller | 2011-10-21 | 4 | -3/+14 |
| | |||||
* | nv50/ir: add wrap mode for shift operations | Christoph Bumiller | 2011-10-21 | 3 | -2/+5 |
| | | | | D3D1x specifies that only the low 5 bit of the shift are used. | ||||
* | nv50/ir: initialize RelocInfo to 0 | Christoph Bumiller | 2011-10-21 | 1 | -0/+2 |
| | |||||
* | nvc0/ir: fix emission of cvt when register and type size differ | Christoph Bumiller | 2011-10-21 | 1 | -2/+3 |
| | |||||
* | nv50/ir: fix argument count for CUBE_ARRAY texture target | Christoph Bumiller | 2011-10-21 | 2 | -4/+4 |
| | |||||
* | nvc0/ir: GP emit address must end up in $r0 | Christoph Bumiller | 2011-10-21 | 1 | -0/+4 |
| |