Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-20 | tgsi: get texturing working in vertex shader sse2 path | Keith Whitwell | |
Missing file from previous commit. | |||
2009-07-16 | tgsi: reduce x86 reg usage in tgsi_sse generated programs | Keith 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-07-16 | gallium: reduce recursive include of tgsi_exec.h | Keith Whitwell | |
A lot of draw code no longer needs to see this header. | |||
2009-07-16 | gallium: proper constructor and destructor for tgsi_exec_machine | Keith Whitwell | |
Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives. | |||
2008-11-09 | gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics only | Brian | |
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-05 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian 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-05 | gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL code | Brian Paul | |
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments. | |||
2008-10-07 | gallium: 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-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-07-28 | Merge tgsi/exec and tgsi/util directories. | José Fonseca | |
2008-06-04 | draw: init vsvg draw pointer | Keith Whitwell | |
2008-06-02 | gallium: Replace XSTDCALL by PIPE_CDECL. | José Fonseca | |
2008-05-31 | draw: Remove const qualifier. | Michal Krol | |
2008-05-31 | draw: Eliminate stdio usage. | José Fonseca | |
2008-05-30 | Merge branch 'gallium-tex-surfaces' into gallium-0.1 | Jakob Bornecrantz | |
Conflicts: src/gallium/drivers/i915simple/i915_context.h | |||
2008-05-28 | draw: enable FSE by default | Keith Whitwell | |
2008-05-28 | Merge branch 'gallium-vertex-linear' into gallium-0.1 | Jakob Bornecrantz | |
Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c | |||
2008-05-28 | gallium: Windows CE portability fixes. | José Fonseca | |
2008-05-23 | draw: add viewport to varient state | Keith Whitwell | |
2008-05-23 | draw: add aos vertex shader varient | Keith Whitwell | |
2008-05-23 | draw: create specialized vs varients incorporating fetch & emit | Keith Whitwell | |
2008-05-23 | draw: move some state into a new 'vs' area | Keith Whitwell | |
2008-05-23 | draw: remove disabled non-sse swizzle code | Keith Whitwell | |
2008-05-19 | if x86_get_func() returns NULL, handle it properly instead of aborting | Brian Paul | |
2008-05-17 | gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state() | Brian Paul | |
The caller can then free the token array immediately. | |||
2008-05-01 | draw: label fn args -- shouldn't this be defined where the fn is created? | Keith Whitwell | |
2008-05-01 | draw: turn on SSE swizzle code | Keith Whitwell | |
2008-04-28 | gallium: Set SSE_SWIZZLES to 0 by default. | Michal Krol | |
2008-04-28 | gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs. | Michal Krol | |
Change SSE_SWIZZLES #define to 0 to disable it. | |||
2008-04-21 | gallium: Centralize SSE usage logic. | José Fonseca | |
2008-04-18 | draw: remove draw_vertex_fetch.c | Keith Whitwell | |
2008-04-18 | draw: remove old vertex_shader->run() functions | Keith Whitwell | |
2008-04-18 | draw: split off all the extra functionality in the vertex shader | Keith Whitwell | |
This will at least allow us to make the initial gains to get decent vertex performance much more quickly & with higher confidence of getting it right. At some later point can look again at code-generating all the fetch/cliptest/viewport extras in the same block as the vertex shader. For now, just need to get some decent baseline performance. | |||
2008-04-17 | draw: add vertex shader run_linear function | Keith Whitwell | |
2008-04-14 | pass vertex size to shaders so that callee can decide on the size | Zack Rusin | |
of the vertices and not always have to use the maximum vertex allocation size for them | |||
2008-04-14 | draw: move vertex header init out of fetch_shade_pipeline.c | Keith Whitwell | |
2008-04-14 | Make shaders operate on a block of memory instead of arrays of vertex_header's | Zack Rusin | |
2008-04-14 | return true if one of the vertices has been clipped | Zack Rusin | |
2008-04-14 | pass arbitrary number of vertices to the shader execution cycle | Zack Rusin | |
2008-04-12 | gallium: move duplicated compute_clipmask() code to draw_vs.h | Brian | |
2008-04-11 | gallium: handle TGSI immediates in SSE code for vertex shaders | Brian Paul | |
2008-04-01 | draw: associate rhw divide with clipping not viewport flag | Keith Whitwell | |
2008-03-31 | gallium: move the test for bypass_vs into the vs_XXX_run() functions | Brian | |
Also: 1. Added an identity_viewport flag to skip viewport transformation when it has no effect. Might also add an explicit bypass_viewport flag someday. 2. Separate the code for computing clip codes and doing the viewport transform. Predicate them separately. Note: even if bypass_vs is set, we still look at the shader to determine the number of inputs and outputs. | |||
2008-03-27 | gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS | Brian | |
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated. | |||
2008-03-24 | gallium: make a copy of the vertex shader's token array. | Brian | |
This solves problems when the state tracker frees the token array when the draw module still needs it. | |||
2008-03-12 | gallium: change draw_vertex_shader->state from pointer to struct | Brian | |
We were sometimes keeping a pointer to a stack-allocated object. Now make a copy of the pipe_shader_state object. This should fix some seemingly random memory errors/crashes. | |||
2008-03-10 | gallium: use the same bypass_clipping logic on all vs paths | Keith Whitwell | |
2008-02-27 | gallium: remove dependencies on pipe_shader_state's semantic info | Brian | |
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead. | |||
2008-02-19 | Use gallium's rtasm module. | José Fonseca | |
2008-02-15 | Make this file build on non-SSE builds (e.g., Cell) | Ian Romanick | |