Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conversions in 3fa2b7a060 changes for 10-bit RTs
The new code was reading everything that is not 10-bit back as UNSIGNED_BYTE but then applying the actual RTs bit depth to compute the maximum value, leading to a double-scaling for RTs with less than 8-bits. Likewise, all RTs were read as RGBA, but formats without alpha were being scaled by 0.0f, giving incorrect results. Components: OpenGL VK-GL-CTS issue: 5186 Affects: KHR-GLES3.texture_lod_basic.lod_selection Change-Id: I7a2356f4cb10a74431a1a8ffcd7a6184014740e7
- Loading branch information