summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_fs_sse.c
AgeCommit message (Collapse)Author
2009-10-05Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-02gallium: replace // comments with /* */Brian Paul
2009-08-11softpipe: reduce textual differences between exec and sse shader pathsKeith Whitwell
Unshare one function (setup_pos_vector) as we want to push this code into the generated shader in the SSE case.
2009-07-30softpipe: setup quad outputs from with fs->runKeith Whitwell
2009-07-16tgsi: initial texturing support on sse pathKeith Whitwell
Most obvious problem is drawpixels comes out blocky, but this may be an existing issue of KIL on the sse path.
2009-07-16tgsi: reduce x86 reg usage in tgsi_sse generated programsKeith Whitwell
Pass the tgsi_exec_machine struct in directly and just hold a single pointer to this struct, rather than keeping one for each of its internal members.
2009-03-22softpipe: reformatting, comments, minor clean-upsBrian Paul
2009-03-13gallium: no need to keep a copy of shader tokens in state trackerKeith Whitwell
Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver...
2009-03-04gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer
2009-02-11softpipe: rename sp_headers.h to sp_quad.hBrian
This header describes the quad-related datatypes afterall.
2008-11-23softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
2008-11-09gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics onlyBrian
This allows us to use SSE codegen with debug builds again. When PIPE_ARCH_SSE is set (w/ gcc -msse -msse2) we will also use the gcc SSE intrinsic functions.
2008-11-05Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
2008-11-05gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
2008-10-07gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca
Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build.
2008-09-08softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol
parts.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-06-02gallium: Replace XSTDCALL by PIPE_CDECL.José Fonseca
2008-05-19if x86_get_func() returns NULL, handle it properly instead of abortingBrian Paul
2008-04-29gallium: test for new PIPE_ARCH_X86Brian Paul
2008-04-28gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.Michal Krol
Change SSE_SWIZZLES #define to 0 to disable it.
2008-04-18softpipe: fix const-related compiler warningsKeith Whitwell
2008-04-11gallium: merge the tgsi_emit_sse2() and tgsi_emit_sse2_fs() functions.Brian Paul
The two functions were mostly the same. We can look at the shader header info to determine if it's a vertex or fragment shader.
2008-04-11gallium: implement immediates (aka literals) for SSE fragment shadersBrian Paul
2008-02-21[PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systemsKeith Whitwell
2008-02-19gallium: initialize the killmask register to zero before running shaderBrian
This fixes mysterious missing fragments when running with SSE.
2008-02-19Use gallium's rtasm module.José Fonseca
2008-02-15softpipe: rename some functions to disambiguateKeith Whitwell
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c