michal
31b4b26108
Enable SSE2 for vertex shaders.
18 years ago
michal
7362fe5d16
Fix YCBCR macro.
Fix line endings.
18 years ago
michal
bf229cb6f1
Fix alignment problems.
Remove NOP opcode.
TEX opcode returns solid white (a hack for D3D state tracker).
18 years ago
michal
9053fcabcb
Remove GL dependencies.
18 years ago
michal
6961769cb2
Define destroy method called by softpipe's destructor.
18 years ago
michal
dee9406e48
Silence compiler warnings.
18 years ago
michal
187c164bb6
Silence compiler warnings.
18 years ago
michal
3755840e00
Call quad stage destructors.
18 years ago
michal
21b5ff5dcc
Remove llvm and sse2 dependencies.
18 years ago
michal
26df9d1a30
Move format definitions from p_defines.h to p_format.h.
PIPE_FORMAT is not an ordinary enum -- it encodes its
format description in the value that defines it.
18 years ago
michal
bc99ea96fb
Add sse2_program to draw_vertex_shader.
18 years ago
michal
11a19866f6
Silence compiler warnings.
18 years ago
michal
0e96a53aec
Remove llvm dependencies.
18 years ago
Brian
79d8e78442
New comments, replace //-style with /* */
18 years ago
Brian
d75ff8447c
indentation fixes
18 years ago
Brian
d7c189b854
s/GLbitfield/uint/
18 years ago
Brian
e807b1900f
remove #define MESA stuff
18 years ago
Brian
88c021a0d1
s/256/TGSI_EXEC_NUM_IMMEDIATES/
18 years ago
Brian
0c2bcedf9a
indentation fixes
18 years ago
Brian
6ada4e3a69
Comments about texture instructions and the src regs
18 years ago
Brian
f6a73c3f28
Remove remnants of softpipe_surface.
This is the last of the clean-up following the change which moved surface
allocation to the winsys layer.
18 years ago
Brian
4f24568dc7
Obsolete
18 years ago
Brian
ef6940f172
Move mesa_to_tgsi.[ch] to state_tracker
18 years ago
Brian
3cf6644c00
Move mesa_to_tgsi.[ch] into state tracker.
18 years ago
Brian
bafbfb4dce
Fix up handling of immediate values for TGSI shaders.
Still disabled pending LLVM updates.
18 years ago
Brian
19710c95da
turn off debug output
18 years ago
Brian
8fed2466e4
Re-implement GLSL texture sampler variables.
GLSL sampler variables indicate which texture unit to use for TEX instructions.
Previously, this was baked into the fragment/vertex program and couldn't be
readily changed once set.
Now, SamplerUnits[] array indicates which texture unit is to be used for
each sampler variable. These values are set with glUniform1i().
This is extra state that must be passed to the fragment/vertex program
executor at runtime.
18 years ago
Zack Rusin
789d248558
Hold a stack of temporaries so that we can redeclare them
for all defined functions. Fixes crashes in function calls.
18 years ago
Brian
78c1f8b2de
convert OPCODE_END -> TGSI_OPCODE_RET
18 years ago
Brian
f92083c338
if we hit RET w/ empty call stack, halt
18 years ago
Brian
6b30f3888e
Initial support for immediate values in TGSI programs.
These can be evaluated at compile time.
Code disabled pending clarifications of TGSI immediate data structures.
18 years ago
Zack Rusin
67e4b82996
Get basic function calls working in the shaders.
18 years ago
Zack Rusin
56da35ef76
Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. Shorten
the swizzle coding in LLVM compilation using it and fix some warnings.
18 years ago
Zack Rusin
61d998c966
Make ret part of the instruction block instead of implicitely
closing at the end of parsing.
18 years ago
Brian
e4f6f0ec02
surface_alloc() is now a winsys function.
This allows surfaces to be allocated without a rendering context.
A few loose ends to resolve, but in working condition.
18 years ago
José Fonseca
f7be1b419a
Actually move region_alloc() and region_release() to intel_winsys.
18 years ago
Brian
ec85467457
clean-up, simplify some tile code, more to come
18 years ago
Brian
f684120417
Move region_alloc() and region_release() to pipe_winsys.
This allows regions to be allocated w/out a rendering context.
18 years ago
Brian
616112ea2e
silence warning
18 years ago
Brian
ee80e0b620
Move the get/put_tile() functions to pipe_context.
The _rgba versions are temporary until the state tracker is updated.
18 years ago
Brian
afd19177e4
tex comments
18 years ago
Brian
aaac436c6c
added some comments
18 years ago
Brian
3dde3715db
update TILE_TOP/BOTTOM_* values to match softpipe
18 years ago
Brian
86f09fd1a7
s/GLfloat/float/, s/GLint/int/, etc
18 years ago
José Fonseca
18a22a4302
Briefly describe the buffer management interface.
18 years ago
José Fonseca
1d2ff452d4
Expand pkg-config flags before invoking the compiler.
This allows IDEs such as Eclipse to get the correct c-preprocessor flags used
from the build output.
18 years ago
José Fonseca
414a933ad2
Ignore generated files.
18 years ago
Michel Dänzer
8568fadaf2
LLVM requires linking with the C++ compiler.
It's basically luck if it works with the C compiler on some platforms...
18 years ago
Zack Rusin
4a4e6f2cab
Implement loops
18 years ago
Zack Rusin
1d17cb721a
Fix nested swizzles. Actually fetch the destination contents
instead of input.
18 years ago