summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authordongseong.hwang <dongseong.hwang@intel.com>2015-08-20 02:09:23 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-20 09:09:56 +0000
commita326ed46c3923c0e3a29d030c10e3e76b3bdc288 (patch)
treecf143aee2c938fd7c15166e8121113736a79067f /ash
parent53a6dde573f020d57b4fff5923f272f98da66e27 (diff)
downloadchromium_src-a326ed46c3923c0e3a29d030c10e3e76b3bdc288.zip
chromium_src-a326ed46c3923c0e3a29d030c10e3e76b3bdc288.tar.gz
chromium_src-a326ed46c3923c0e3a29d030c10e3e76b3bdc288.tar.bz2
gpu: If not cube complete, the texture isn't renderable, no matter mipmap complete.
GLES2 spec 3.8.2 says "A cube map sampler is called, and either the corresponding cube map texture image is not cube complete, or TEXTURE_MIN_FILTER is one that requires a mipmap and the texture is not mipmap cube complete." However, Texture::GetCanRenderCondition() checks cube complete only if the texture needs mipmap. TEST=gpu_unittests TextureTest.POTCubeMapWithoutMipmap BUG=517548 Review URL: https://codereview.chromium.org/1299683002 Cr-Commit-Position: refs/heads/master@{#344456}
Diffstat (limited to 'ash')
0 files changed, 0 insertions, 0 deletions