diff options
author | Roland Scheidegger <[email protected]> | 2013-08-23 04:33:32 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-08-23 23:46:28 +0200 |
commit | ad9b5b9ae9a9068be4571a406f6118b9f4382ac4 (patch) | |
tree | 238ef6445c1ae5e8b3910eeb90d5fd21f7849a10 /.gitattributes | |
parent | b47bde00790c4d4cef107c8cd33ed17a08415caf (diff) |
gallivm: fix min/mag switchover point for nearest/none mip filter
Previously, the min/mag switchover point when using nearest/none mip
filter was effectively -0.5 which can't be right. Looks like new OpenGL
thinks it's ok if it's always 0.0 (older versions required 0.5 in some
cases), let's hope everybody else thinks that's fine too.
Refactor this slightly and get the per-quad/per-pixel min/mag decision
values further down to sampling, though still only the first component
is used yet.
While here also fix code trying to skip lod bias application etc. when
mipfilter is none, as this is still needed for determining min/mag filter.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions