summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* radeonsi/compute: fix bind_compute_sampler_states() breakageBrian Paul2013-10-031-6/+0
| | | | Remove the assignment and the no-op function.
* i965/fs: Improve accuracy of dFdy() to match dFdx().Paul Berry2013-10-032-20/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we computed dFdy() using the following instruction: add(8) dst<1>F src<4,4,0)F -src.2<4,4,0>F { align1 1Q } That had the disadvantage that it computed the same value for all 4 pixels of a 2x2 subspan, which meant that it was less accurate than dFdx(). This patch changes it to the following instruction when c->key.high_quality_derivatives is set: add(8) dst<1>F src<4,4,1>.xyxyF -src<4,4,1>.zwzwF { align16 1Q } This gives it comparable accuracy to dFdx(). Unfortunately, align16 instructions can't be compressed, so in SIMD16 shaders, instead of emitting this instruction: add(16) dst<1>F src<4,4,1>.xyxyF -src<4,4,1>.zwzwF { align16 1H } We need to unroll to two instructions: add(8) dst<1>F src<4,4,1>.xyxyF -src<4,4,1>.zwzwF { align16 1Q } add(8) (dst+1)<1>F (src+1)<4,4,1>.xyxyF -(src+1)<4,4,1>.zwzwF { align16 2Q } Fixes piglit test spec/glsl-1.10/execution/fs-dfdy-accuracy. Acked-by: Chris Forbes <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* gallium/tests: fix SHADER typoBrian Paul2013-10-031-1/+1
|
* gallium-egl: use standard variable types over EGLBoolean/EGLintEmil Velikov2013-10-031-9/+9
| | | | | | | | | The inferface/prototype in native_wayland_bufmgr.h uses boolean/int, as well as the rest of the file. Convert to improve consistency and to prevent gcc compiler warnings due to type miss-match. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* gallium: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-15/+0
| | | | | The new bind_sampler_states() function takes a shader argument to specify the shader stage.
* gallium/docs: update bind_sampler_states() documentationBrian Paul2013-10-031-5/+6
|
* cso: make sure all sampler states are set/clearedBrian Paul2013-10-031-2/+9
|
* freedreno: use new bind_sampler_states() functionBrian Paul2013-10-031-21/+19
|
* svga: don't hook in old bind_fragment_sampler_states() functionsBrian Paul2013-10-031-9/+0
|
* radeon: don't use old bind_vertex/fragment_sampler_states() hooksBrian Paul2013-10-034-53/+6
|
* i915g: remove old bind_vertex/fragment_sampler_states() hooksBrian Paul2013-10-031-2/+0
|
* noop: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-6/+0
|
* galahad: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-50/+1
|
* vl: remove old bind_fragment_sampler_states() callsBrian Paul2013-10-037-47/+17
|
* util: remove old bind_fragment_sampler_states() calls from blitter codeBrian Paul2013-10-031-22/+9
|
* draw: remove use of old bind_fragment_sampler_states()Brian Paul2013-10-032-82/+13
|
* nouveau: remove old bind_*_sampler_states() functionsBrian Paul2013-10-034-36/+0
|
* cso: remove use of old bind_*_sampler_states() functionsBrian Paul2013-10-031-31/+3
|
* rbug: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-53/+1
|
* identity: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-41/+1
|
* trace: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-75/+7
|
* ilo: don't hook up old bind_*_sampler_states() functionsBrian Paul2013-10-031-4/+0
|
* llvmpipe: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-26/+0
|
* softpipe: remove old bind_*_sampler_states() functionsBrian Paul2013-10-031-31/+0
|
* clover: remove bind_compute_sampler_states() callsBrian Paul2013-10-031-8/+6
|
* gallium/tests: use pipe_context::bind_sampler_states()Brian Paul2013-10-038-9/+13
|
* gallium/tools: update dump_state.py to use bind_sampler_states()Brian Paul2013-10-031-8/+3
|
* nouveau: implement pipe_context::bind_sampler_states()Brian Paul2013-10-036-2/+76
|
* softpipe: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+1
|
* radeon: implement pipe_context::bind_sampler_states()Brian Paul2013-10-033-0/+49
|
* svga: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+1
|
* trace: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-28/+42
|
* rbug: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+34
|
* noop: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+7
|
* llvmpipe: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+1
|
* ilo: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+21
|
* identity: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-15/+21
|
* i915g: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+22
|
* galahad: implement pipe_context::bind_sampler_states()Brian Paul2013-10-031-12/+18
|
* clover: use pipe_context::bind_sampler_states() if non-nullBrian Paul2013-10-031-2/+7
|
* vl: use pipe_context::bind_sampler_states() if non-nullBrian Paul2013-10-037-8/+49
|
* util: use pipe_context::bind_sampler_states() if non-nullBrian Paul2013-10-031-6/+22
|
* draw: use pipe_context::bind_sampler_states() if non-nullBrian Paul2013-10-032-7/+97
|
* cso: use pipe_context::bind_sampler_states() if non-nullBrian Paul2013-10-031-21/+44
|
* gallium: add pipe_context::bind_sampler_states()Brian Paul2013-10-031-0/+5
| | | | | The bind_vertex/geometry/fragment/compute_sampler_states() functions will be replaced by a single functions.
* r300g: rename r300_bind_sampler_states to r300_bind_fragment_sampler_statesBrian Paul2013-10-031-4/+4
|
* draw: rename bind_sampler_states variablesBrian Paul2013-10-032-19/+19
| | | | | Put 'fragment' in the names. In preparation for upcoming function renaming.
* r600g: fix ínitialization of non_disp_tiling flagMarek Olšák2013-10-031-4/+5
| | | | This fixes a regression caused by e64633e8c3a5498998a45ab721bf80edca101cf5
* r600g,radeonsi: create aux_context lastMarek Olšák2013-10-033-2/+6
| | | | This fixes a regression caused by 68f6dec32ed5eede361f76c8dbdf897652659baf.
* r300g/swtcl: don't call draw_prepare_shader_outputsMarek Olšák2013-10-031-1/+0
|