зеркало из https://github.com/AvaloniaUI/angle.git
D3D11: Disable OES_texture_3D.
GL_OES_texture_3D requires support for 3D textures at both API and GLSL levels. D3D11 back-end doesn't handle GLSL's added functions (texture3D*) properly. See TextureFunctionHLSL::useTextureFunction() (TextureFunctionHLSL.cpp:1475) Bug: angleproject:4926 Change-Id: Icd669b070c68ec04f5de790d5a531912f5b42d98 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2336132 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
4f247baf66
Коммит
f2196ad676
|
@ -1634,15 +1634,16 @@ void GenerateCaps(ID3D11Device *device,
|
|||
extensions->copyTexture = true;
|
||||
extensions->copyCompressedTexture = true;
|
||||
extensions->textureStorageMultisample2DArrayOES = true;
|
||||
extensions->multiviewMultisample = ((extensions->multiview || extensions->multiview2) &&
|
||||
extensions->multiviewMultisample = ((extensions->multiview || extensions->multiview2) &&
|
||||
extensions->textureStorageMultisample2DArrayOES);
|
||||
extensions->copyTexture3d = true;
|
||||
extensions->textureBorderClampOES = true;
|
||||
extensions->textureMultisample = true;
|
||||
extensions->provokingVertex = true;
|
||||
extensions->blendFuncExtended = true;
|
||||
extensions->maxDualSourceDrawBuffers = 1;
|
||||
extensions->texture3DOES = true;
|
||||
extensions->copyTexture3d = true;
|
||||
extensions->textureBorderClampOES = true;
|
||||
extensions->textureMultisample = true;
|
||||
extensions->provokingVertex = true;
|
||||
extensions->blendFuncExtended = true;
|
||||
extensions->maxDualSourceDrawBuffers = 1;
|
||||
// http://anglebug.com/4926
|
||||
extensions->texture3DOES = false;
|
||||
extensions->baseVertexBaseInstance = true;
|
||||
extensions->drawElementsBaseVertexOES = true;
|
||||
extensions->drawElementsBaseVertexEXT = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче