Fix ValidateCompressedTexSubDimensions for bptc and rgtc
CompressedTexSubImage* will result in an INVALID_OPERATION error only if one of the following conditions occurs: * <width> is not a multiple of four, and <width> plus <xoffset> is not equal to TEXTURE_WIDTH; * <height> is not a multiple of four, and <height> plus <yoffset> is not equal to TEXTURE_HEIGHT; or * <xoffset> or <yoffset> is not a multiple of four. Bug: 1013369 Change-Id: I2ca55cf10a7d0c96792f9677e016a6a137c597b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063583Reviewed-by:Kenneth Russell <kbr@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.com> Cr-Commit-Position: refs/heads/master@{#742445}
Showing
Please register or sign in to comment