summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: use full range of VS resources for vertex samplersAlex Deucher2010-11-193-4/+2
| | | | | Now that we have fetch shaders, the full range of VS resources can be used for sampling.
* r600g: use meaningful defines for chiprevAlex Deucher2010-11-193-19/+24
| | | | Makes the code much clearer.
* r600g: translate ARR instruction for evergreenAlex Deucher2010-11-191-4/+13
| | | | | evergreen variant of: 9f7ec103e26c67cb077fd7d94d2fb68562b86c40
* r600g: add fetch shader capabilitiesJerome Glisse2010-11-1911-12/+125
| | | | | | | | 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]>
* r600g: All EVENT_WRITE packets need the EVENT_INDEX fieldAlex Deucher2010-11-192-13/+13
| | | | 6xx-evergreen
* r600g: fix occlusion query on evergreen (avoid lockup)Jerome Glisse2010-11-192-2/+11
| | | | | | | Occlusion query on evergreen need the event index field to be set otherwise we endup locking up the GPU. Signed-off-by: Jerome Glisse <[email protected]>
* scons: Use inline wrap helpers more consistently.José Fonseca2010-11-183-19/+12
|
* gallium/noop: report GL 2.1Dave Airlie2010-11-181-5/+8
| | | | | this should at least make app use the same paths as they would for a real driver.
* st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.Chia-I Wu2010-11-183-6/+16
| | | | | xmesa_get_name returns the name of the st_api, which is the same as MESA_VERSION_STRING.
* st/wgl: Use st_context_iface::share for DrvShareLists.Chia-I Wu2010-11-181-11/+4
|
* gallium: Add st_context_iface::share to st_api.Chia-I Wu2010-11-181-0/+6
| | | | | It will be used to implement wglShareLists. Fill st_context_iface::copy for glXCopyContext as well.
* gallium: Add st_api::name.Chia-I Wu2010-11-184-0/+12
| | | | It is the name of the rendering API. This field is informative.
* st/vega: Do not wait NULL fences.Chia-I Wu2010-11-181-3/+4
|
* r600g: fix buffer alignmentAlex Deucher2010-11-172-10/+41
| | | | This should fix the remaining buffer alignment issues in r600g.
* gallium: Remove redundant sw and debug target helpersJakob Bornecrantz2010-11-179-272/+1
|
* graw: Use inline debug helper instead of non-inline versionJakob Bornecrantz2010-11-174-5/+10
|
* libgl-xlib: Use inline debug helper instead of non-inline versionJakob Bornecrantz2010-11-173-21/+8
|
* r600g: code cleanup (indent, trailing space, empty line ...)Jerome Glisse2010-11-179-73/+70
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r300g: print FS inputs uninitialized due to hardware limits to stderrMarek Olšák2010-11-171-7/+17
|
* r600g: Synchronize supported color formats between Evergreen and r600/r700.Henri Verbeet2010-11-171-1/+4
|
* r600g: Swizzle vertex data only once.Henri Verbeet2010-11-172-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_RETMarek Olšák2010-11-161-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.
* libgl-gdi: Allow to pick softpipe/llvmpipe on runtime.José Fonseca2010-11-163-146/+64
|
* r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.Henri Verbeet2010-11-151-0/+2
|
* r600g: Evergreen has two extra frac_bits for the sampler LOD state.Henri Verbeet2010-11-151-3/+3
| | | | The (piglit) mipmap_limits test shows the issue very clearly.
* r600g: Cleanup the fenced_bo list in r600_context_fini().Henri Verbeet2010-11-151-0/+13
|
* gallium/noop: no operation gallium driverJerome Glisse2010-11-158-0/+989
| | | | | | | | | | | | | | | | | 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 shadersMarek Olšák2010-11-141-0/+6
|
* r300g: clean up redundancy in draw functionsMarek Olšák2010-11-141-57/+45
|
* r300g: fix texture border color for all texture formatsMarek Olšák2010-11-131-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 addressingMarek Olšák2010-11-121-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 addressingMarek Olšák2010-11-121-0/+5
|
* r300g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-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 addressingMarek Olšák2010-11-121-0/+11
| | | | To match shader model 2.0.
* nv50: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* i965g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* i915g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* tgsi: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* gallium: add CAPs for indirect addressing and lower it in st/mesa when neededMarek Olšák2010-11-121-0/+5
| | | | | | | | | | Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing of temps, inputs, outputs, and consts (FS-only) or the hw support is so limited that we cannot use it. This should make r300g and possibly nvfx more feature complete. Signed-off-by: Marek Olšák <[email protected]>
* r600g: enforce minimum stride on render target texture imagesKeith Whitwell2010-11-111-0/+4
| | | | Fixes piglit/fbo_readpixels since staging upload changes.
* r600g: do not try to use staging resource for depth texturesKeith Whitwell2010-11-111-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_S3TCKeith Whitwell2010-11-111-0/+9
|
* nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORTLucas Stach2010-11-111-0/+4
| | | | | Signed-off-by: Lucas Stach <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* libgl-xlib: Use sw helper instead of roll your ownJakob Bornecrantz2010-11-101-78/+12
|
* graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz2010-11-102-42/+4
|
* galahad: Correct the name of the scons libraryJakob Bornecrantz2010-11-101-1/+1
|
* r600g: allow driver to work without submitting cmd to GPUJerome Glisse2010-11-101-0/+2
| | | | | | | | For driver performance analysis it usefull to be able to disable as much as possible the GPU interaction so that one can profile the userspace only. Signed-off-by: Jerome Glisse <[email protected]>
* gallivm: implement indirect addressing over inputsZack Rusin2010-11-101-3/+64
| | | | | | | Instead of messing with the callers simply copy our inputs into a alloca array at the beginning of the function and then use it. Reviewed-by: José Fonseca <[email protected]>
* r300g: turn magic numbers into names in the hyperz codeMarek Olšák2010-11-101-12/+18
|
* r300g: rename has_hyperz -> can_hyperzMarek Olšák2010-11-105-11/+11
|