José Fonseca
39ea030842
Rename rtasm files.
pirms 17 gadiem
José Fonseca
df8ab3140c
Bring rtasm from mesa to gallium.
pirms 17 gadiem
José Fonseca
e773a813cf
Initial scons support to build gallivm.
Not yet complete.
pirms 17 gadiem
José Fonseca
e279b1c57a
More llvm -> gallivm.
Forgot this one on the last commit.
pirms 17 gadiem
Brian
6c7f663cb9
gallium: move draw_set_viewport_state() call, plus code clean-up, remove obsolete comments
pirms 17 gadiem
Brian
ae9931dad2
gallium: call draw_flush() for scissor/stipple state changes
pirms 17 gadiem
Brian
478c14453b
gallium: remove the prototype/unused wide_line_aa() function
pirms 17 gadiem
Brian
aceeb80d4f
gallium: antialiased line drawing
New draw/prim stage: draw_aaline. When installed, lines are replaced by
textured quads to do antialiasing. The current user-defined fragment shader
is modified to do a texture fetch and modulate fragment alpha.
pirms 17 gadiem
José Fonseca
0448dbd64a
Update for llvm -> gallivm rename.
pirms 17 gadiem
José Fonseca
3f3b09d6d8
Rename llvm -> gallivm.
Following the directory == library name policy simplifies the build system.
pirms 17 gadiem
José Fonseca
687a8b96ef
Standardize on using the pipe/ include prefix.
pirms 17 gadiem
José Fonseca
33ceb6716a
Update scons build for new code layout.
pirms 17 gadiem
José Fonseca
9df478d2f8
Add an "all" target alias for "default" target.
"all" is more commonly expected, expecially by many IDEs.
pirms 17 gadiem
José Fonseca
1f2d011786
Build glx/x11.
pirms 17 gadiem
José Fonseca
8450b14676
Cleanup depend files.
pirms 17 gadiem
José Fonseca
39fe5851a5
Actually use GALLIUM_DRIVER_DIRS.
pirms 17 gadiem
José Fonseca
bfd5916eaf
Code reorganization: split gallium and mesa makefiles.
In other words, don't build src/gallium source code from within src/mesa/Makefile.
Also, allow to customize which gallium auxiliary dirs, driver driver, winsys
dirs get built from the config/* files.
pirms 17 gadiem
José Fonseca
56bf73b1fb
Update doxygen configuration file for new tree layout.
pirms 17 gadiem
Zack Rusin
4a79156812
fix the build
pirms 17 gadiem
Brian
0c6bbd41bd
gallium: add missing mip level clamp
pirms 17 gadiem
Brian
3b2a291888
gallium: tweak texture filter min/mag thresholds
pirms 17 gadiem
Brian
08c9534107
gallium: implement min vs. mag filter determination for non-mipmapped textures
Fixes tests/minmag.c
pirms 17 gadiem
Brian
f9973b1c3d
Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
pirms 17 gadiem
Ian Romanick
3320b1874e
Cell: Enable code gen for SPE attribute fetch
Doubles are still unsupported.
pirms 17 gadiem
Ian Romanick
71071b7a9e
Cell: Add missing back-slash in linux-cell config file
pirms 17 gadiem
Ian Romanick
eb3f7aa6f8
Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build.
pirms 17 gadiem
Ian Romanick
b08d3fa249
Make this file build on non-SSE builds (e.g., Cell)
pirms 17 gadiem
Ian Romanick
397b81bd1c
Move cell_vertex_fetch.c for recent code reorg.
pirms 17 gadiem
Ian Romanick
55e64b63ad
Initial version of code gen for attribute fetch
pirms 17 gadiem
Ian Romanick
2cc0c3b997
Correct the convert to and from float instructions
pirms 17 gadiem
Keith Whitwell
c179bc9901
tgsi: pass through failure to sse-codegenerate for fragment programs too.
In particular, will fallback to interpreted execution for shaders with
TEX instructions.
pirms 17 gadiem
Keith Whitwell
b29d8d2729
draw: subclass vertex shaders according to execution method
Create new files for shaders compiled/executed with llvm, sse, exec
respectively
pirms 17 gadiem
Keith Whitwell
e822e09b89
softpipe: rename some functions to disambiguate
pirms 17 gadiem
Keith Whitwell
30d0bacf7a
Merge commit 'origin/gallium-0.1' into gallium-0.1
pirms 17 gadiem
Keith Whitwell
6ac2c1cc0c
Merge commit 'origin/gallium-0.1' into gallium-0.1
Conflicts:
src/gallium/drivers/softpipe/sp_quad_fs.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/softpipe/sp_state_fs.c
pirms 17 gadiem
José Fonseca
66f22aa3bf
Code reorganization: s/aux/auxiliary/ -- update build.
pirms 17 gadiem
José Fonseca
92fcbf6e7b
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
pirms 17 gadiem
Keith Whitwell
c04a7f8929
gallium: reorganize fragment shader execution, unbreak sse
This is probably going to get further reworked in the near future.
Right now there's a new interface wrapped around each shader execution
mode - exec, sse2, llvm. The llvm code was disabled already and has
just been moved as-is to a new file, whereas the sse2 and exec code is
actually enabled.
The way the interfaces has turned out suggests to me that the correct
approach is to actually have each shader include a pointer to a quad stage
which will do a better job of encapsulating the execution environment than
what I have here -- that's a second step however.
pirms 17 gadiem
Keith Whitwell
fa9c160389
tgsi: disable dummy sse2 texture code
pirms 17 gadiem
José Fonseca
6d3831b11d
Code reorganization: placeholder for state-trackers.
This is meant for temporarily holding state-trackers,
until they eventually find their way out of gallium tree.
pirms 17 gadiem
José Fonseca
6acd63a498
Code reorganization: update build.
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
pirms 17 gadiem
José Fonseca
b642730be9
Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
pirms 17 gadiem
Zack Rusin
4593be34b2
vastly simplify indexing
pirms 17 gadiem
Zack Rusin
cf51d5c421
redo indirection
make all load's respect indirection
pirms 17 gadiem
Zack Rusin
f70cc89dbc
redo the way immediates are handled
implement madd
start implementing arl
pirms 17 gadiem
Zack Rusin
ae3375987f
rename 'argument' to 'load' because that's what it does
pirms 17 gadiem
Zack Rusin
d0364584be
implement swizzling on writes
pirms 17 gadiem
Zack Rusin
13d9e616f6
a call was missed during the last rename
pirms 17 gadiem
Michal Krol
19780237ff
gallium: Fix memory leak.
pirms 17 gadiem
Michal Krol
742c5d3e1b
gallium: Fix memory leak.
pirms 17 gadiem