Icohedron wrote:

Perhaps it would be a lot more manageable if we remove the name of the texture 
type from the tests and exercise all the different texture types under the same 
file. For example, 
`clang/test/SemaHLSL/Resources/Texture2DArray-SampleBias.hlsl` and 
`clang/test/SemaHLSL/Resources/Texture2D-SampleBias.hlsl` can be consolidated 
into a single `clang/test/SemaHLSL/Resources/Texture-SampleBias.hlsl` test file.

Furthermore, since Texture2DArray shares much of the same functionality as 
Texture2D, a random sampling of existing tests on Texture2D methods can be 
replaced with Texture2DArray. Or just pick a random subset of the methods they 
have in common and append tests to the consolidated test files.




https://github.com/llvm/llvm-project/pull/203951
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to