| commit | 39633e2da2d0cc0d11b496f5bf4e75f8da44bba7 | [log] [tgz] |
|---|---|---|
| author | Brandon Jones <brandon1.jones@intel.com> | Tue Jun 01 19:45:53 2021 +0000 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 01 19:45:53 2021 +0000 |
| tree | 46d931c0e86c121f825d80f30595e9cf18ec911f | |
| parent | a9e39e11a8ef79397a1685957b60914f203e65f4 [diff] [blame] |
Implement External Texture Binding Functionality Adds functionality to BindGroupLayout and BindGroup to allow GPUExternalTexture bindings. Bug: dawn:728 Change-Id: I651b28606dceda15f0a944711ddba639df77c1a3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/47381 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn_native/opengl/PipelineLayoutGL.cpp b/src/dawn_native/opengl/PipelineLayoutGL.cpp index 088eaf3..ef2cf7c 100644 --- a/src/dawn_native/opengl/PipelineLayoutGL.cpp +++ b/src/dawn_native/opengl/PipelineLayoutGL.cpp
@@ -58,6 +58,7 @@ break; case BindingInfoType::Texture: + case BindingInfoType::ExternalTexture: mIndexInfo[group][bindingIndex] = sampledTextureIndex; sampledTextureIndex++; break;