mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-11-16 04:03:43 +00: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.cpp | ||
shader.h | ||
shader_interpreter.cpp | ||
shader_interpreter.h | ||
shader_jit_x64.cpp | ||
shader_jit_x64.h | ||
shader_jit_x64_compiler.cpp | ||
shader_jit_x64_compiler.h |