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 年之前
Zack Rusin
1d26e9c447
Fix nested conditionals
18 年之前
Zack Rusin
e842b5e5ba
Test some functionality of vp using GLSL that pure vp isn't testing.
18 年之前
Zack Rusin
7073ef9682
Implement else ops.
18 年之前
keithw
731352f03e
set vcache.referenced bit always
18 年之前
Zack Rusin
5022ee43fc
Make branching work :) Simply allow output variables as valid
operand inputs when they've been assigned already.
18 年之前
Zack Rusin
1c5fec714d
Simplify branch handling. Prepare for proper decleration extraction.
18 年之前
Brian
7636aac54b
Fix glDrawElements + VBO rendering when ptr/offset is not zero.
When an index VBO is bound, glDrawElement's indices pointer is really an
offset into the element buffer. Add that offset to the prims[i].start
value before calling pipe->draw_elements().
Fixes vbo.c conform test.
18 年之前
Brian
40a0b053f7
Revert "Undo indexOffset change (I think, git???)"
This reverts commit 11ce6244a7 .
18 年之前
Brian
11ce6244a7
Undo indexOffset change (I think, git???)
18 年之前
Brian
3733b1f2e9
add to git
18 年之前
Brian
f68fce1f1f
Implement gl_PointCoord attribute for GLSL fragment shaders.
Contains the normalized fragment position within a point sprite.
18 年之前
Brian
3a345e0003
print CAL label
18 年之前
Brian
e506514dbb
fix bug in RET code
18 年之前
Brian
4eafe69a2a
better debug output
18 年之前
Brian
76a4fd098f
a bit more work for optimizing clears in tile cache (not enabled yet)
18 年之前
Brian
b78e90807a
flush pipe in draw_stencil_pixels()
18 年之前
Brian
47f2e97019
get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel (for depth texture sampling)
18 年之前
Brian
af96043167
added a pipe->flush() call in xmesa_clear()
18 年之前
Zack Rusin
02cf317ed6
Add copyright headers and do some cleanups.
18 年之前