Merge pull request #3066 from ShchchowAMD/shaochi/bindless

[glslang][extension] Add support for ARB_bindless_texture.
This commit is contained in:
Greg Fischer 2022-12-07 14:38:31 -07:00 committed by GitHub
commit ed257e2bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 608 additions and 35 deletions

View file

@ -751,6 +751,11 @@ bool TIntermediate::buildConvertOp(TBasicType dst, TBasicType src, TOperator& ne
case EbtInt64: newOp = EOpConvInt64ToUint; break;
case EbtUint64: newOp = EOpConvUint64ToUint; break;
#endif
// For bindless texture type conversion, add a dummy convert op, just
// to generate a new TIntermTyped
// uvec2(any sampler type)
// uvec2(any image type)
case EbtSampler: newOp = EOpConvIntToUint; break;
default:
return false;
}