summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Tev.cpp
AgeCommit message (Collapse)Author
2016-01-18Merge pull request #3523 from lioncash/videoPierre Bourdon
VideoCommon: Header cleanup
2016-01-17VideoCommon: Header cleanupLioncash
Also remedies places where the video backends and core rely on things being indirectly included.
2016-01-15PixelShaderGen: Use bitwise AND for wrapping indirect texture coordinatesStenzek
(x % y) is not defined in GLSL when sign(x) != sign(y). This also has the added benefit of behaving the same as sampler wrapping modes, in regards to negative inputs.
2016-01-06VideoSW: Use more VideoCommondegasus
Now we require lots of empty functions, but this removes by far more duplicated code.
2015-09-30Tev: Don't savestate Zero16Lioncash
It's an array of zeroes. There's no need.
2015-09-30ChunkFile: Provide additional helpers for C-style arraysLioncash
Gets rid of magic numbers in cases where the array size is known at compile time. This is also useful for future entries that are stack allocated arrays as these functions prevent incorrect sizes being provided.
2015-09-17VideoSW: Drop SW bbox codedegasus
The hardware backends don't use this shared code any more, and it's not needed for video sw either. So this was just dead code.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-12-11Silence some -Wswitch-default warnings.Rohit Nirmal
2014-10-10Reimplement Bounding Box calculation using the software renderer.crudelios
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-08-10Software: Apply static to some functionsLioncash
2014-08-10Software: Fix various brace styling errorsLioncash
2014-07-29Convert some more header inclusions into forward declarationsLioncash
2014-05-17Merge pull request #269 from magumagu/swbackend-xfregistersTony Wasserka
SW backend: use VideoCommon XFRegisters struct.
2014-05-16Video backends: mass-replace "xfregs" with "xfmem".magumagu
2014-05-16Video backends: unify xfregs/xfmem structures.magumagu
Removes the duplicate swxfregs global variable/struct from the software backend in favor of the ones from VideoCommon.
2014-05-16Video backends: fix behavior of "konst" TEV inputs.magumagu
Also fixes TEVCOLORARG_HALF. Values verified to match hardwarere.
2014-04-15Software backend: don't skip red component in TEV.magumagu
2014-04-15Software backend: make TEV rounding match hardware.magumagu
Formulas stolen from gxtest. (Not sure how "==" got turned into "!=", but I'm pretty confident the patched version is correct.)
2014-03-29Software backend: Delete forked PixelEngine.magumagu
Mostly just zapping a bunch of duplicated code; the only interesting thing going on here is the changes to the performance counter implementation.
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-26Software renderer: Properly calculate tev combiner output.Tony Wasserka
As pointed out by dolphin-emu/hwtests@461476112.
2014-03-26Software renderer: Use color combiner configuration for alpha combiner ↵Tony Wasserka
compare mode inputs. As pointed out by dolphin-emu/hwtests@f684f2498.
2014-03-25BPMemory: Make use of BitField in a number of structures.Tony Wasserka
2014-03-14PixelShaderGen: Treat UV coordinates like S17.7 integers (they're still ↵Tony Wasserka
stored as float, though).
2014-03-14PixelShaderGen: Change indirect texture matrix uniforms to use integers.Tony Wasserka
2014-03-14PixelShaderGen: Use integer math for indirect tev stage texcoord calculation.Tony Wasserka
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -loop-convertTillmann Karras
and some manual adjustments
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre