Skip to content

Commit 91ac224

Browse files
committed
Allow subpassLoad for ANGLE
Signed-off-by: Shahbaz Youssefi <[email protected]>
1 parent 6a6e311 commit 91ac224

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

glslang/MachineIndependent/Initialize.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5746,8 +5746,7 @@ void TBuiltIns::add2ndGenerationSamplingImaging(int version, EProfile profile, c
57465746
for (int dim = Esd2D; dim <= EsdCube; ++dim) { // 2D, 3D, and Cube
57475747
#else
57485748
#if defined(GLSLANG_ANGLE)
5749-
// TODO: what is subpass?
5750-
for (int dim = Esd2D; dim < EsdSubpass; ++dim) { // 2D, ..., buffer
5749+
for (int dim = Esd2D; dim < EsdNumDims; ++dim) { // 2D, ..., buffer, subpass
57515750
#else
57525751
for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
57535752
#endif

0 commit comments

Comments
 (0)