mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-26 09:42:00 +01:00
46c6973d2b
Among four shader units in pica, a special unit can be configured to run both VS and GS program. GSUnitState represents this unit, which extends UnitState (which represents the other three normal units) with extra state for primitive emitting. It uses lots of raw pointers to represent internal structure in order to keep it standard layout type for JIT to access. This unit doesn't handle triangle winding (inverting) itself; instead, it calls a WindingSetter handler. This will be explained in the following commits |
||
---|---|---|
.. | ||
debug_data.h | ||
shader_interpreter.cpp | ||
shader_interpreter.h | ||
shader_jit_x64_compiler.cpp | ||
shader_jit_x64_compiler.h | ||
shader_jit_x64.cpp | ||
shader_jit_x64.h | ||
shader.cpp | ||
shader.h |