summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
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: 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-14llvmpipe: 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
2010-09-13llvmpipe: Fix non SSE2 builds.José Fonseca
Should fix fdo 30168.
2010-09-13r300g/swtcl: unlock VBO after draw_flushMarek Olšák
https://bugs.freedesktop.org/show_bug.cgi?id=29901 https://bugs.freedesktop.org/show_bug.cgi?id=30132
2010-09-13llvmpipe: Change asm to __asm__.Witold Baryluk
According to gcc documentation both are equivalent, second are prefered as first can make conflict with existing symbols. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-09-13nv50: fix TXP depth comparison valueChristoph Bumiller
2010-09-13nv50: fix indirect CONST access with large or negative offsetsChristoph Bumiller
2010-09-13nv50: MOV TEMP[0], -CONST[0] must be float32 negationChristoph Bumiller
2010-09-13nv50: interp cannot write flags regChristoph Bumiller
2010-09-13nv50: check for immediates when turning MUL ADD into MADChristoph Bumiller
2010-09-13nv50: handle TGSI EXP and LOG againChristoph Bumiller
2010-09-13r300g: fix SWTCLMarek Olšák
https://bugs.freedesktop.org/show_bug.cgi?id=29901
2010-09-13llvmpipe: Unbreak rasterization on 64bit.José Fonseca
2010-09-13r600g: evergreen fixup dsa state for running query.Dave Airlie
evergreen is always the same as r700 here.
2010-09-13llvmpipe: use gcc asm only with gccJosé Fonseca
2010-09-13r300g: print unassigned FS inputs for DBG_RSMarek Olšák
2010-09-13r300g: add new debug options for dumping scissor regs and disabling CBZB clearMarek Olšák
2010-09-13r300g: skip rendering if CS space validation failsMarek Olšák
radeon_cs_space_check flushes the pipe context on failure, retries the validation, and returns -1 if it fails again. At that point, there is nothing we can do, so let's skip draw operations instead of getting stuck in an infinite loop. This code path ideally should never be hit.
2010-09-13r300g: remove u_upload_flush from r300_draw_arraysMarek Olšák
This a leftover probably and is unnecessary, since we flush u_upload_mgr in r300_flush.
2010-09-12nvfx: Remove unused variables.Vinson Lee
2010-09-12nvfx: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-09-12llvmpipe: introduce tri_3_4 for tiny trianglesKeith Whitwell
2010-09-12llvmpipe: allow tri_3_16 at any 4-aligned location within a tileKeith Whitwell
Doesn't require 16-alignment, so catch more cases.
2010-09-12llvmpipe: refactor tri_3_16Keith Whitwell
Keep step array as a set of four m128i's and reuse throughout the rasterization.
2010-09-12llvmpipe: pass linear masks to fragment shaderKeith Whitwell
Fragment shader can extract the correct bits for each quad.
2010-09-12llvmpipe: fix warnings on both 32 and 64 bit buildsKeith Whitwell
2010-09-12llvmpipe: fix wierd performance regression in isosurfKeith Whitwell
I really don't understand the mechanism behind this, but it seems like the way data blocks for a scene are malloced, and in particular whether we treat them as stack or a queue, and whether we retain the most recently allocated or least recently allocated has a real affect (~5%) on isosurf framerates... This is probably specific to my distro or even just my machine, but none the less, it's nicer not to see the framerates go in the wrong direction.
2010-09-12nv50: match TEMP limit with nv50 ir builderChristoph Bumiller
Mesa doesn't respect it anyway, but this makes it assert rather than threads access areas of l[] that don't belong to them.
2010-09-12nv50: newlines in shader bincode printingChristoph Bumiller
2010-09-12nv50: cannot move from local mem to output reg directlyChristoph Bumiller
2010-09-12llvmpipe: Only generate the whole shader specialization for opaque shaders.José Fonseca
If not opaque, then the color buffer will have to be read any way, therefore the specialization is pointless.
2010-09-12pb: add void * for flush ctx to mapping functionsDave Airlie
If the buffer we are attempting to map is referenced by the unsubmitted command stream for this context, we need to flush the command stream, however to do that we need to be able to access the context at the lowest level map function, currently we set the buffer in the toplevel map, but this racy between context. (we probably have a lot more issues than that.) I'll look into a proper solution as suggested by jrfonseca when I get some time.
2010-09-12nv50: fix size of outputs_written arrayXavier Chantry
2010-09-12nv50: minor compiler fixes and cleanupsChristoph Bumiller