OSDN Git Service

LOD should be rounded to int
authorAlexis Hetu <sugoi@google.com>
Fri, 3 Jul 2015 19:46:32 +0000 (15:46 -0400)
committerAlexis Hétu <sugoi@google.com>
Thu, 16 Jul 2015 19:08:04 +0000 (19:08 +0000)
commitb1a071f5bc2acd72dd499c88b5fe60f46dcc2f57
treeebea2810165d5b8baffa34d0d5453493b5f03f4e
parent8eada888a95dc02d743b6babc391d25fc9ab9fab
LOD should be rounded to int

The queries should round, rather than truncate, LODs to int.

Bug 20724899

Change-Id: I86ddc724545abb80687eb5132cdf8ddd410ee2d1
Reviewed-on: https://swiftshader-review.googlesource.com/3638
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/libGLESv2/libGLESv2.cpp