summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-09-16r600g: Use clamped math for RCP and RSQ.Tilman Sauerbeck
This is likely only correct for OpenGL and not other state trackers. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-16r600g: Fixed a bo leak in r600_blit_state_ps_shader().Tilman Sauerbeck
We would leak the newly created bo if it cannot be mapped. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-16st/xlib: Notify the context when the front/back buffers are swapped.Chia-I Wu
The current context should be notified when the the front/back buffers of the current drawable are swapped. The notification was skipped when xmesa_strict_invalidate is false (the default). This fixes fdo bug #29774.
2010-09-16r600g: fix texture bos and avoid doing depth blit on evergreenDave Airlie
since the depth blit code is hardcoded hex yay \o/
2010-09-16r600g: fixup texture state on evergreen.Dave Airlie
This whole set of state just seems wrong, another cut-n-paste nightmare.
2010-09-15nv50: Fix 'control reaches end of non-void function' warning.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warnings.Vinson Lee
2010-09-15draw: Remove unnecessary header.Vinson Lee
2010-09-15gallivm: Remove unnecessary headers.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Silence uninitialized variable warning.Vinson Lee
2010-09-15nv50: Remove unnecessary headers.Vinson Lee
2010-09-15nv50: Update files in SConscript to match Makefile.Vinson Lee
2010-09-16r600g: add vgt dma src definesDave Airlie
2010-09-16r600g: use index min/max + index buffer offset.Dave Airlie
more prep work for fixing up buffer handling
2010-09-16r600g: pull r600_draw struct out into headerDave Airlie
we need this for future buffer rework, it also makes the vtbl easier
2010-09-15gallivm: expand AoS sampling to cover all filtering modesBrian Paul
...and all texture targets (1D/2D/3D/CUBE).
2010-09-15tgsi: fix incorrect usage_mask for shadow tex instructionsBrian Paul
The shadow versions of the texture targets use an extra component (Z) to express distance from light source to the fragment. Fixes the shadowtex demo with llvmpipe.
2010-09-15nv50: use unsigned int for bitfields to silence warningsBrian Paul
2010-09-15llvmpipe: s/boolean/unsigned/ in bitfield to silence warningBrian Paul
Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change.
2010-09-15llvmpipe: cast to silence warningBrian Paul
2010-09-15r600g: misc cleanupJohn Doe
Avoid using r600_screen structure to get ptr to radeon winsys structure. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-15Merge remote branch 'origin/nv50-compiler'Christoph Bumiller
Conflicts: src/gallium/drivers/nouveau/nouveau_class.h src/gallium/drivers/nv50/nv50_screen.c
2010-09-15llvmpipe: return zero from floor_pot(zero)Keith Whitwell
2010-09-15nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNTChristoph Bumiller
2010-09-15nv50: improve and fix modifier folding optimizationChristoph Bumiller
Execute before folding loads, because we don't check if it's legal in lower_mods. Ensure that a value's insn pointer is updated when transferring it to a different instruction.
2010-09-15nv50: consider address register in reload eliminationChristoph Bumiller
2010-09-15llvmpipe: remove duplicate codeKeith Whitwell
Bad rebase presumably.
2010-09-15llvmpipe: brackets around macro argKeith Whitwell
2010-09-15r600g: Silence unused variable warning.Vinson Lee
The code that uses dname is currently ifdef'ed out.
2010-09-15r600g: Silence uninitialized variable warning.Vinson Lee
2010-09-15r600g: Silence uninitialized variable warning.Vinson Lee
2010-09-15r600g: Silence uninitialized variable warning.Vinson Lee
2010-09-15nvfx: Silence uninitialized variable warnings.Vinson Lee
2010-09-15r600g: Silence uninitialized variable warning.Vinson Lee
2010-09-15r600g: Silence uninitialized variable warning.Vinson Lee
2010-09-15r300g: fix buffer reuse issue caused by previous commitDave Airlie
caused by 0b9eb5c9bb03e5134d9a41786178100109e80c5a test run glxgears, resize.
2010-09-15r300g: prevent creating multiple winsys BOs for the same handleMarek Olšák
This fixes a DRM deadlock in the cubestorm xscreensaver, because somehow there must not be 2 different BOs relocated in one CS if both BOs back the same handle. I was told it is impossible to happen, but apparently it is not, or there is something else wrong.
2010-09-14r600g: Remove unnecessary headers.Vinson Lee
2010-09-14auxiliary: fix unintended fallthroughLuca Barbieri
2010-09-14llvmpipe: Remove unnecessary header.Vinson Lee
2010-09-14gallivm: Remove unnecessary header.Vinson Lee
2010-09-14llvmpipe: Initialize variable for potentially unhandled switch case.Vinson Lee
2010-09-14i965g: Fix 'control reaches end of non-void function' warning.Vinson Lee
Fixes the following GCC warning. brw_screen.c: In function 'brw_get_shader_param': brw_screen.c:241: warning: control reaches end of non-void function
2010-09-13i915g: Fix 'control reaches end of non-void function' warning.Vinson Lee
Fixes the following GCC warning. i915_screen.c: In function 'i915_get_shader_param': i915_screen.c:184: warning: control reaches end of non-void function
2010-09-13i915: Fix "implicit declaration of function 'draw_get_shader_param'" warning.Vinson Lee
Fixes the following GCC warning. i915_screen.c: In function 'i915_get_shader_param': i915_screen.c:147: warning: implicit declaration of function 'draw_get_shader_param'
2010-09-13identity: Fix 'assignment from incompatible pointer type' warning.Vinson Lee
This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. id_screen.c: In function 'identity_screen_create': id_screen.c:317: warning: assignment from incompatible pointer type
2010-09-13rbug: Fix 'assignment from incompatible pointer type' warning.Vinson Lee
This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. rbug_screen.c: In function 'rbug_screen_create': rbug_screen.c:331: warning: assignment from incompatible pointer type
2010-09-14gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)Luca Barbieri
Changes in v3: - Also change trace, which I forgot about Changes in v2: - No longer adds tessellation shaders Currently each shader cap has FS and VS versions. However, we want a version of them for geometry, tessellation control, and tessellation evaluation shaders, and want to be able to easily query a given cap type for a given shader stage. Since having 5 duplicates of each shader cap is unmanageable, add a new get_shader_param function that takes both a shader cap from a new enum and a shader stage. Drivers with non-unified shaders will first switch on the shader and, within each case, switch on the cap. Drivers with unified shaders instead first check whether the shader is supported, and then switch on the cap. MAX_CONST_BUFFERS is now per-stage. The geometry shader cap is removed in favor of checking whether the limit of geometry shader instructions is greater than 0, which is also used for tessellation shaders. WARNING: all drivers changed and compiled but only nvfx tested