Merge pull request #2886 from greg-lunarg/i2875

Fix sameElementShape test of sampler
This commit is contained in:
Greg Fischer
2022-02-07 13:09:13 -07:00
committed by GitHub

View File

@@ -2703,7 +2703,7 @@ public:
*lpidx = -1;
*rpidx = -1;
}
return sampler == right.sampler &&
return ((basicType != EbtSampler && right.basicType != EbtSampler) || sampler == right.sampler) &&
vectorSize == right.vectorSize &&
matrixCols == right.matrixCols &&
matrixRows == right.matrixRows &&