[XCX] rounding test, to be reverted

This commit is contained in:
getdls 2018-03-12 23:04:11 +01:00
parent 9feef75009
commit f0d2bc5ea2
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0);
// shader 4d4b09634a7eab30
// Last step vertical blend. half tv scaled + pre-blending = aprox half step reduction
// To-do candidate for multi pass / bokeh replacement
const float resScale = <?=round($scaleFactorY)/2?>;
const float resScale = <?=round($scaleFactorY/2)?>;
uniform ivec4 uf_remappedPS[7];
layout(binding = 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4fde000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0
layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf51aa000 res 640x360x1 dim 1 tm: 4 format 0820 compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0

View File

@ -10,7 +10,7 @@ $scaleFactorY = always_decimal_format($fullHeight / 720.0);
// shader 5eb82314ffb8484e // bg scale, probably overkill to scale
// Last step vertical blend. half tv scaled + pre-blending = aprox half step reduction
// To-do candidate for multi pass / bokeh replacement
const float resScale = <?=round($scaleFactorY)/2?>;
const float resScale = <?=round($scaleFactorY/2)?>;
//const float resScale = 2.0;
uniform ivec4 uf_remappedPS[7];