Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | nvc0/ir: TXQ requires different lowering from normal TEX | Christoph Bumiller | 2011-10-21 | 1 | -1/+10 |
| | |||||
* | nv50/ir: initialize default prog_info values for GP,TP | Christoph Bumiller | 2011-10-21 | 1 | -0/+10 |
| | |||||
* | nv50/ir: fix memory value equality check | Christoph Bumiller | 2011-10-21 | 1 | -1/+1 |
| | |||||
* | nv50/ir: fix leak in removal of graph root | Christoph Bumiller | 2011-10-21 | 1 | -5/+5 |
| | |||||
* | d3d1x: fix/improve OMSetRenderTargets | Christoph Bumiller | 2011-10-21 | 1 | -19/+26 |
| | | | | | Don't count trailing NULL RTVs. Don't skip update if only DSV has changed. | ||||
* | d3d1x: avoid translating invalid blend, depth or stencil state | Christoph Bumiller | 2011-10-21 | 2 | -32/+56 |
| | |||||
* | d3d1x: add support for buffer views | Christoph Bumiller | 2011-10-21 | 1 | -0/+6 |
| | |||||
* | d3d1x: improve CreateInputLayout | Christoph Bumiller | 2011-10-21 | 1 | -13/+50 |
| | |||||
* | d3d1x/context: fix IASetVertexBuffers stride comparison | Christoph Bumiller | 2011-10-21 | 1 | -1/+1 |
| | |||||
* | d3d1x: use ZS formats for TYPELESS resources with DS binding | Christoph Bumiller | 2011-10-21 | 1 | -0/+10 |
| | |||||
* | d3d1x: use resource format if view format is UNKNOWN | Christoph Bumiller | 2011-10-21 | 1 | -6/+9 |
| | |||||
* | d3d1x: fix shadow comparison to gallium enum off by one | Christoph Bumiller | 2011-10-21 | 1 | -1/+1 |
| |