Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: use full range of VS resources for vertex samplers | Alex Deucher | 2010-11-19 | 3 | -4/+2 |
| | | | | | Now that we have fetch shaders, the full range of VS resources can be used for sampling. | ||||
* | r600g: use meaningful defines for chiprev | Alex Deucher | 2010-11-19 | 3 | -19/+24 |
| | | | | Makes the code much clearer. | ||||
* | r600g: translate ARR instruction for evergreen | Alex Deucher | 2010-11-19 | 1 | -4/+13 |
| | | | | | evergreen variant of: 9f7ec103e26c67cb077fd7d94d2fb68562b86c40 | ||||
* | r600g: add fetch shader capabilities | Jerome Glisse | 2010-11-19 | 9 | -12/+92 |
| | | | | | | | | Use fetch shader instead of having fetch instruction in the vertex shader. Allow to restrict shader update to a smaller part when vertex buffer input layout changes. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | gallium/noop: report GL 2.1 | Dave Airlie | 2010-11-18 | 1 | -5/+8 |
| | | | | | this should at least make app use the same paths as they would for a real driver. | ||||
* | r600g: fix buffer alignment | Alex Deucher | 2010-11-17 | 1 | -10/+35 |
| | | | | This should fix the remaining buffer alignment issues in r600g. | ||||
* | gallium: Remove redundant sw and debug target helpers | Jakob Bornecrantz | 2010-11-17 | 4 | -118/+0 |
| | |||||
* | r600g: code cleanup (indent, trailing space, empty line ...) | Jerome Glisse | 2010-11-17 | 9 | -73/+70 |
| | | | | Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: print FS inputs uninitialized due to hardware limits to stderr | Marek Olšák | 2010-11-17 | 1 | -7/+17 |
| | |||||
* | r600g: Synchronize supported color formats between Evergreen and r600/r700. | Henri Verbeet | 2010-11-17 | 1 | -1/+4 |
| | |||||
* | r600g: Swizzle vertex data only once. | Henri Verbeet | 2010-11-17 | 2 | -35/+4 |
| | | | | | Vertex data swizzles are already done in the vertex shader. Doing them twice breaks BGRA vertex arrays for example. | ||||
* | r300g: remove the hack with OPCODE_RET | Marek Olšák | 2010-11-16 | 1 | -4/+1 |
| | | | | | | | | RET was interpreted as END, which was wrong. Instead, if a shader contains RET in the main function, it will fail to compile with an error message from now on. The hack is from early days. | ||||
* | r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well. | Henri Verbeet | 2010-11-15 | 1 | -0/+2 |
| | |||||
* | r600g: Evergreen has two extra frac_bits for the sampler LOD state. | Henri Verbeet | 2010-11-15 | 1 | -3/+3 |
| | | | | The (piglit) mipmap_limits test shows the issue very clearly. | ||||
* | gallium/noop: no operation gallium driver | Jerome Glisse | 2010-11-15 | 5 | -0/+861 |
| | | | | | | | | | | | | | | | | | This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r300g: return shader caps from Draw for SWTCL vertex shaders | Marek Olšák | 2010-11-14 | 1 | -0/+6 |
| | |||||
* | r300g: clean up redundancy in draw functions | Marek Olšák | 2010-11-14 | 1 | -57/+45 |
| | |||||
* | r300g: fix texture border color for all texture formats | Marek Olšák | 2010-11-13 | 1 | -33/+31 |
| | | | | | | | This fixes 8 texwrap format tests. The code should handle arbitrary formats now and is cleaner. NOTE: This is a candidate for the 7.9 branch. | ||||
* | svga: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+13 |
| | | | | | As per the ps_3_0 and vs_3_0 documentation. The aL register in D3D9 is quite tricky to use, though. | ||||
* | r600g: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+5 |
| | |||||
* | r300g: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+11 |
| | | | | | To match shader model 2.0 (it's impossible to fully implement ARL with shader model 3.0 relative addressing). | ||||
* | nvfx: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+11 |
| | | | | To match shader model 2.0. | ||||
* | nv50: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+5 |
| | |||||
* | i965g: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+5 |
| | |||||
* | i915g: fill out CAPs for indirect addressing | Marek Olšák | 2010-11-12 | 1 | -0/+5 |
| | |||||
* | r600g: enforce minimum stride on render target texture images | Keith Whitwell | 2010-11-11 | 1 | -0/+4 |
| | | | | Fixes piglit/fbo_readpixels since staging upload changes. | ||||
* | r600g: do not try to use staging resource for depth textures | Keith Whitwell | 2010-11-11 | 1 | -0/+9 |
| | | | | | | Currently r600_resource_copy_region() will turn these copies into transfers + memcpys, so to avoid recursion we must not turn those transfers back into blits. | ||||
* | r600g: guard experimental s3tc code with R600_ENABLE_S3TC | Keith Whitwell | 2010-11-11 | 1 | -0/+9 |
| | |||||
* | nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT | Lucas Stach | 2010-11-11 | 1 | -0/+4 |
| | | | | | Signed-off-by: Lucas Stach <[email protected]> Signed-off-by: Francisco Jerez <[email protected]> | ||||
* | galahad: Correct the name of the scons library | Jakob Bornecrantz | 2010-11-10 | 1 | -1/+1 |
| | |||||
* | r300g: turn magic numbers into names in the hyperz code | Marek Olšák | 2010-11-10 | 1 | -12/+18 |
| | |||||
* | r300g: rename has_hyperz -> can_hyperz | Marek Olšák | 2010-11-10 | 5 | -11/+11 |
| | |||||
* | r300g: mention ATI in the renderer string | Marek Olšák | 2010-11-10 | 1 | -25/+25 |
| | |||||
* | r600: fix my pessimism about PIPE_TRANSFER_x flags | Keith Whitwell | 2010-11-09 | 1 | -8/+5 |
| | | | | | | For some reason I though we needed the _DISCARD flag to avoid readbacks, which isn't true at all. Now write operations should pipeline properly, gives a good speedup to demos/tunnel. | ||||
* | r600g: translate ARR instruction | Keith Whitwell | 2010-11-09 | 1 | -2/+13 |
| | |||||
* | r600g: attempt to turn on DXTn formats | Keith Whitwell | 2010-11-09 | 3 | -4/+17 |
| | | | | | Seems to sort-of work for non-mipmapped textures. Better than just black anyway. | ||||
* | r600g: avoid recursion with staged uploads | Keith Whitwell | 2010-11-09 | 1 | -0/+34 |
| | | | | | | Don't use an intermediate for formats which don't support hardware blits under u_blitter.c, as these will recursively attempt to create a transfer. | ||||
* | softpipe: can't no-op depth test stage when occlusion query is enabled | Brian Paul | 2010-11-09 | 1 | -0/+1 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479 | ||||
* | r600g: implement texture_get_handle (needed for eglExportDRMImageMESA) | Benjamin Franzke | 2010-11-08 | 2 | -1/+16 |
| | |||||
* | r600g: Mention AMD in the renderer string. | Henri Verbeet | 2010-11-07 | 1 | -18/+18 |
| | |||||
* | softpipe: disable vertex texturing with draw/llvm | Brian Paul | 2010-11-05 | 1 | -0/+5 |
| | | | | | This is a temporary work around to prevent crashes with glean/glsl1 (for example) which try to do vertex shader texturing. | ||||
* | llvmpipe: added some debug assertions, but disabled | Brian Paul | 2010-11-04 | 1 | -0/+10 |
| | |||||
* | r300g: Do not use buf param before checking for NULL. | Guillermo S. Romero | 2010-11-04 | 1 | -1/+1 |
| | | | | | | | Commit 8dfafbf0861fe3d2542332658dd5493851053c78 forgot to update r300g. There is a buf == NULL check, but buf is used before for var init. Tested-by: Guillermo S. Romero <[email protected]> | ||||
* | r600g: Swap the util_blitter_destroy call order. | José Fonseca | 2010-11-03 | 1 | -2/+3 |
| | | | | | | | | | | Trivial change that avoids a segmentation fault when the blitter state happens to be bound when the context is destroyed. The free calls should probably removed altogether in the future -- the responsibility to destroy the state atoms lies with whoever created it, and the safest thing for the pipe driver is to not touch any bound state in its destructor. | ||||
* | evergreeng: set hardware pixelcenters according to gl_rasterization_rules | Keith Whitwell | 2010-11-03 | 2 | -1/+8 |
| | |||||
* | evergreeng: respect linewidth state, use integer widths only | Keith Whitwell | 2010-11-03 | 3 | -2/+8 |
| | | | | | | | | | | | Discard fractional bits from linewidth. This matches the nvidia closed drivers, my reading of the OpenGL SI and current llvmpipe behaviour. It looks a lot nicer & avoids ugliness where lines alternate between n and n+1 pixels in width along their length. Also fix up r600g to match. | ||||
* | r600g: don't call debug_get_bool_option for tiling more than once | Keith Whitwell | 2010-11-03 | 1 | -1/+7 |
| | |||||
* | evergreeng: protect against null constant buffers | Keith Whitwell | 2010-11-03 | 1 | -0/+7 |
| | | | | | Should do better than this and actually unbind the buffer, but haven't yet gotten it to work. | ||||
* | r600g: set hardware pixel centers according to gl_rasterization_rules | Keith Whitwell | 2010-11-03 | 2 | -0/+9 |
| | | | | | | | These were previously being left in the default (D3D) mode. This mean that triangles were drawn slightly incorrectly, but also because this state is relied on by the u_blitter code, all blits were half a pixel off. | ||||
* | r600g: remove unused flink, domain fields from r600_resource | Keith Whitwell | 2010-11-03 | 3 | -33/+0 |
| | | | | These were being set but not used anywhere. |