Tony Wasserka
|
eb0f547a17
|
PixelShaderGen: Cleanups.
|
2014-03-26 00:23:36 +01:00 |
|
Tony Wasserka
|
4f82d6f7af
|
PixelShaderGen: Implement tev combiner lerping in a faster way which also reproduces hardware behavior perfectly.
The new behavior has been verified to be correct by hardware tests. This is an improvement over the old code, which was just a guess.
|
2014-03-26 00:17:04 +01:00 |
|
Tony Wasserka
|
fdad95c055
|
PixelShaderGen: Cleanups and fixes for tev combiners.
Fixes issue 4674.
|
2014-03-26 00:17:03 +01:00 |
|
Tony Wasserka
|
0f81cbd6be
|
PixelShaderGen: More code alignment fixes.
|
2014-03-14 22:33:26 +01:00 |
|
Tony Wasserka
|
c1016205d3
|
Pixel/LightingShaderGen: Fix code alignment issues.
Most of these weren't even introduced by me, but hey - I'm nice and love wasting my time :p
|
2014-03-14 22:33:26 +01:00 |
|
Tony Wasserka
|
2067f88e0f
|
PixelShaderGen: Don't make local lookup tables "static".
|
2014-03-14 22:33:26 +01:00 |
|
Tony Wasserka
|
0ce92e0162
|
PixelShaderGen: Remove the "i" prefix for integer variables.
The prefix was just required in the development stage to reduce the risk of regressions.
|
2014-03-14 22:33:26 +01:00 |
|
Tony Wasserka
|
bdd629c598
|
PixelShaderGen: Use spaces for alignment where appropriate.
|
2014-03-14 22:33:26 +01:00 |
|
Tony Wasserka
|
6e65e02c9e
|
ConstantManager: Do not use single-element arrays.
|
2014-03-14 22:33:25 +01:00 |
|
Tony Wasserka
|
6c2971eaf6
|
PixelShaderGen: Write 16777215 in hex (0xFFFFFF) so that it's easier to understand.
|
2014-03-14 22:33:25 +01:00 |
|
Tony Wasserka
|
8ebb65ebf2
|
PixelShaderGen: Prettify generated shader source.
|
2014-03-14 22:33:24 +01:00 |
|
Tony Wasserka
|
e2e1c5c905
|
PixelShaderGen: Add a note about a random idea which should be checked with hardware tests.
|
2014-03-14 22:33:12 +01:00 |
|
Tony Wasserka
|
6fcbda6752
|
PixelShaderGen: Cleanup and clarify bump alpha combiner inputs.
|
2014-03-14 22:33:12 +01:00 |
|
Tony Wasserka
|
9a96a1d525
|
PixelShaderGen: Remove old, mostly useless comments.
A few vague lines of comments cannot replace an afternoon reading of how TEV works.
|
2014-03-14 22:33:12 +01:00 |
|
Tony Wasserka
|
8b8bb04fd3
|
PixelShaderGen: Use bit shifts instead of multiplications as a small optimization.
|
2014-03-14 22:33:12 +01:00 |
|
Tony Wasserka
|
036a8c6951
|
PixelShaderGen: Clean up tev compare functionality.
|
2014-03-14 22:33:10 +01:00 |
|
Tony Wasserka
|
fa7173d099
|
PixelShaderGen: Store tex scale as an integer.
|
2014-03-14 22:32:30 +01:00 |
|
Tony Wasserka
|
16109fb453
|
PixelShaderGen: Treat UV coordinates as actual integers.
|
2014-03-14 22:32:29 +01:00 |
|
Tony Wasserka
|
50526ae50a
|
PixelShaderGen: Remove some dead code.
|
2014-03-14 22:32:18 +01:00 |
|
Tony Wasserka
|
065919f599
|
PixelShaderGen: Perform some of the fog calculations with integers.
|
2014-03-14 22:31:32 +01:00 |
|
Tony Wasserka
|
605b687af8
|
PixelShaderGen: Use integer math for z textures.
|
2014-03-14 22:31:31 +01:00 |
|
Tony Wasserka
|
3a6389992e
|
PixelShaderGen: Treat UV coordinates like S17.7 integers (they're still stored as float, though).
|
2014-03-14 22:31:30 +01:00 |
|
Tony Wasserka
|
3e6efdb53e
|
LightingShaderGen: Perform more lighting calculations with integers.
|
2014-03-14 22:31:19 +01:00 |
|
Tony Wasserka
|
387b9bf3c2
|
LightingShaderGen: Perform some lighting calculations with integers.
|
2014-03-14 22:31:19 +01:00 |
|
Tony Wasserka
|
78623871f9
|
ShaderGen: Store material uniforms as integers.
|
2014-03-14 22:31:19 +01:00 |
|