diff options
author | Roland Scheidegger <[email protected]> | 2013-10-04 01:18:45 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-10-10 04:32:57 +0200 |
commit | ce1d8634aa29810e3ec8db70b7f33a5d3f3ade25 (patch) | |
tree | eb20773950caf7c47076de23152baf3f6604b527 /src/glsl/test_optpass.h | |
parent | 15e05b999b779dc48a8e768184b9c69e859c203b (diff) |
gallivm: ignore rho approximation for cube maps
There's two reasons for this:
1) even when ignoring rho approximation for cube maps, the result is still
not correct, but it's better as the max error at edges is now sqrt(2) instead
of 2 (which was a full mip level), same as it is for ordinary 2d maps when
doing rho approximations (so the error actually goes from factor 2 at edges and
sqrt(2) completely inside a face to sqrt(2) at edges and 0 inside a face).
2) I want to repurpose rho_no_approx for cubemaps for fully correct cubemap
derivatives (so don't need yet another debug var).
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/test_optpass.h')
0 files changed, 0 insertions, 0 deletions