aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* nvc0/ir: TXQ requires different lowering from normal TEXChristoph Bumiller2011-10-211-1/+10
|
* nv50/ir: initialize default prog_info values for GP,TPChristoph Bumiller2011-10-211-0/+10
|
* nv50/ir: fix memory value equality checkChristoph Bumiller2011-10-211-1/+1
|
* nv50/ir: fix leak in removal of graph rootChristoph Bumiller2011-10-211-5/+5
|
* d3d1x: fix/improve OMSetRenderTargetsChristoph Bumiller2011-10-211-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 stateChristoph Bumiller2011-10-212-32/+56
|
* d3d1x: add support for buffer viewsChristoph Bumiller2011-10-211-0/+6
|
* d3d1x: improve CreateInputLayoutChristoph Bumiller2011-10-211-13/+50
|
* d3d1x/context: fix IASetVertexBuffers stride comparisonChristoph Bumiller2011-10-211-1/+1
|
* d3d1x: use ZS formats for TYPELESS resources with DS bindingChristoph Bumiller2011-10-211-0/+10
|
* d3d1x: use resource format if view format is UNKNOWNChristoph Bumiller2011-10-211-6/+9
|
* d3d1x: fix shadow comparison to gallium enum off by oneChristoph Bumiller2011-10-211-1/+1
|