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 년 전