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
commit b7ba87bcfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 &&