projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6e311
)
Allow subpassLoad for ANGLE
author
Shahbaz Youssefi
<ShabbyX@gmail.com>
Sat, 12 Sep 2020 02:30:49 +0000
(22:30 -0400)
committer
Shahbaz Youssefi
<ShabbyX@gmail.com>
Sat, 12 Sep 2020 02:30:49 +0000
(22:30 -0400)
Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
glslang/MachineIndependent/Initialize.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/Initialize.cpp
b/glslang/MachineIndependent/Initialize.cpp
index
d773a0a
..
8d5d04f
100644
(file)
--- a/
glslang/MachineIndependent/Initialize.cpp
+++ b/
glslang/MachineIndependent/Initialize.cpp
@@
-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