зеркало из https://github.com/AvaloniaUI/angle.git
Capture/Replay: Allow serializing cube map array data.
This ASSERT was firing which was preventing several traces from re-tracing. Bug: angleproject:5133 Change-Id: I86d956bf0c95210bef5572a30fb786555d14522f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3123226 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Tim Van Patten <timvp@google.com> Reviewed-by: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Родитель
d72cad5e3e
Коммит
9a3f60f220
|
@ -1124,7 +1124,8 @@ Result SerializeTextureData(JsonSerializer *json,
|
||||||
// Check for supported textures
|
// Check for supported textures
|
||||||
ASSERT(index.getType() == gl::TextureType::_2D || index.getType() == gl::TextureType::_3D ||
|
ASSERT(index.getType() == gl::TextureType::_2D || index.getType() == gl::TextureType::_3D ||
|
||||||
index.getType() == gl::TextureType::_2DArray ||
|
index.getType() == gl::TextureType::_2DArray ||
|
||||||
index.getType() == gl::TextureType::CubeMap);
|
index.getType() == gl::TextureType::CubeMap ||
|
||||||
|
index.getType() == gl::TextureType::CubeMapArray);
|
||||||
|
|
||||||
GLenum glFormat = format.format;
|
GLenum glFormat = format.format;
|
||||||
GLenum glType = format.type;
|
GLenum glType = format.type;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче