michal
31b4b26108
Enable SSE2 for vertex shaders.
преди 18 години
michal
7362fe5d16
Fix YCBCR macro.
Fix line endings.
преди 18 години
michal
bf229cb6f1
Fix alignment problems.
Remove NOP opcode.
TEX opcode returns solid white (a hack for D3D state tracker).
преди 18 години
michal
9053fcabcb
Remove GL dependencies.
преди 18 години
michal
6961769cb2
Define destroy method called by softpipe's destructor.
преди 18 години
michal
dee9406e48
Silence compiler warnings.
преди 18 години
michal
187c164bb6
Silence compiler warnings.
преди 18 години
michal
3755840e00
Call quad stage destructors.
преди 18 години
michal
21b5ff5dcc
Remove llvm and sse2 dependencies.
преди 18 години
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 години
michal
bc99ea96fb
Add sse2_program to draw_vertex_shader.
преди 18 години
michal
11a19866f6
Silence compiler warnings.
преди 18 години
michal
0e96a53aec
Remove llvm dependencies.
преди 18 години
Brian
79d8e78442
New comments, replace //-style with /* */
преди 18 години
Brian
d75ff8447c
indentation fixes
преди 18 години
Brian
d7c189b854
s/GLbitfield/uint/
преди 18 години
Brian
e807b1900f
remove #define MESA stuff
преди 18 години
Brian
88c021a0d1
s/256/TGSI_EXEC_NUM_IMMEDIATES/
преди 18 години
Brian
0c2bcedf9a
indentation fixes
преди 18 години
Brian
6ada4e3a69
Comments about texture instructions and the src regs
преди 18 години
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 години
Brian
4f24568dc7
Obsolete
преди 18 години
Brian
ef6940f172
Move mesa_to_tgsi.[ch] to state_tracker
преди 18 години
Brian
3cf6644c00
Move mesa_to_tgsi.[ch] into state tracker.
преди 18 години
Brian
bafbfb4dce
Fix up handling of immediate values for TGSI shaders.
Still disabled pending LLVM updates.
преди 18 години
Brian
19710c95da
turn off debug output
преди 18 години
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 години
Zack Rusin
789d248558
Hold a stack of temporaries so that we can redeclare them
for all defined functions. Fixes crashes in function calls.
преди 18 години
Brian
78c1f8b2de
convert OPCODE_END -> TGSI_OPCODE_RET
преди 18 години
Brian
f92083c338
if we hit RET w/ empty call stack, halt
преди 18 години
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 години
Zack Rusin
67e4b82996
Get basic function calls working in the shaders.
преди 18 години
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 години
Zack Rusin
61d998c966
Make ret part of the instruction block instead of implicitely
closing at the end of parsing.
преди 18 години
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 години
José Fonseca
f7be1b419a
Actually move region_alloc() and region_release() to intel_winsys.
преди 18 години
Brian
ec85467457
clean-up, simplify some tile code, more to come
преди 18 години
Brian
f684120417
Move region_alloc() and region_release() to pipe_winsys.
This allows regions to be allocated w/out a rendering context.
преди 18 години
Brian
616112ea2e
silence warning
преди 18 години
Brian
ee80e0b620
Move the get/put_tile() functions to pipe_context.
The _rgba versions are temporary until the state tracker is updated.
преди 18 години
Brian
afd19177e4
tex comments
преди 18 години
Brian
aaac436c6c
added some comments
преди 18 години
Brian
3dde3715db
update TILE_TOP/BOTTOM_* values to match softpipe
преди 18 години
Brian
86f09fd1a7
s/GLfloat/float/, s/GLint/int/, etc
преди 18 години
José Fonseca
18a22a4302
Briefly describe the buffer management interface.
преди 18 години
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 години
José Fonseca
414a933ad2
Ignore generated files.
преди 18 години
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 години
Zack Rusin
4a4e6f2cab
Implement loops
преди 18 години
Zack Rusin
1d17cb721a
Fix nested swizzles. Actually fetch the destination contents
instead of input.
преди 18 години