| Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
implicit tuple constructor is a c++17 thing, which is not supported by some not-so-old libraries. Play safe for now
|
|
All the register meanings are derived from ctrulib (3dbrew is outdated for most of them)
|
|
Implement fragment lighting in the sw renderer (take 2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gl_rasterizer: use texture buffer for proctex LUT
|
|
gl_rasterizer_cache: fix using_depth_fb
|
|
|
|
|
|
|
|
|
|
merging similar pattern. Also makes the code more similar to the gl one
|
|
|
|
|
|
the per-light loop body.
|
|
ComputeFragmentsColors function.
|
|
ComputeFragmentsColors.
|
|
|
|
being set to the dist atten scale.
|
|
into the per-light loop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this is a rebasing error from #2792. It doesn't affect much though, because the later more Apply() call fixes/hides it
|
|
|
|
|
|
|
|
|
|
Fragment lighting: implement geometric factor
|
|
|
|
Also has the Dynarmic upgrade with the same change
|
|
|
|
Fragment lighting: implement lut input 5 (CP) and tangent mapping
|
|
pica/rasterizer: implement/stub texture wrap mode 4-7
|