Chromium Code Reviews
Descriptioncommand_buffer: MAX/BASE_LEVEL fixes for GetTexParameter
This fixes two bugs for GetTexParameter:
- It seems the OSX OpenGL driver stores the levels on int16_t causing
the large values used by some tests to overflow and return as
negative numbers. This is fixed by getting the values from the
command buffer state tracking.
- This exposed a bug in the state tracking where the base / max levels
weren't rounded correctly when specified as floats.
BUG=483282
BUG=610153
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/6c2262abe85a3b1f03bf849ca670be2e505d34ec
Cr-Commit-Position: refs/heads/master@{#396864}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Register a driver bug workaround #Patch Set 3 : Fix JSON typos #
Total comments: 4
Patch Set 4 : Address comments #
Messages
Total messages: 15 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||