Merge pull request #2394 from ShabbyX/subpassLoad

Allow subpassLoad for ANGLE
This commit is contained in:
John Kessenich 2020-09-12 22:45:53 -06:00 committed by GitHub
commit 759ae5aec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5746,8 +5746,7 @@ void TBuiltIns::add2ndGenerationSamplingImaging(int version, EProfile profile, c
for (int dim = Esd2D; dim <= EsdCube; ++dim) { // 2D, 3D, and Cube
#else
#if defined(GLSLANG_ANGLE)
// TODO: what is subpass?
for (int dim = Esd2D; dim < EsdSubpass; ++dim) { // 2D, ..., buffer
for (int dim = Esd2D; dim < EsdNumDims; ++dim) { // 2D, ..., buffer, subpass
#else
for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
#endif