Comments (2)
Fun... There's actually a bunch of tests in the HLSLFileCheck directory that have verifier expected comments:
tools/clang/test/HLSLFileCheck/hlsl/compile_options/WX.hlsl
tools/clang/test/HLSLFileCheck/hlsl/intrinsics/basic/intrinsic-examples_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/operators/binary/vector-matrix-binops.hlsl
tools/clang/test/HLSLFileCheck/hlsl/template/dependent-sized_array.hlsl
tools/clang/test/HLSLFileCheck/hlsl/template/elaborated-type-specifier.hlsl
tools/clang/test/HLSLFileCheck/hlsl/template/templateTypename.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/attributes_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/const-expr_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/const-exprB_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/functions_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/implicit-casts_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/indexing-operator_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/literals_exact_precision_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/literals_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/packreg_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/scalar-assignments_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/string_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/template-checks_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/typemods-syntax_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/varmods-syntax_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/matrix/matrix-assignments_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/matrix/matrix-syntax_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/vector/vector-assignments_Mod.hlsl
We should inspect all of these because the legacy "FileChecker" infrastructure doesn't support verifier tests in that folder.
from directxshadercompiler.
The vast majority of these were introduced with the first commit, when perhaps the idea was to have verifier support. The handful of exceptions may have been from careless copy-paste of existing clang testing. In several cases, the verifier comments are either meaningless or redundant with filecheck notations, there's a large class of tests where the only check is for main
Introduced by the first commit:
tools/clang/test/HLSLFileCheck/hlsl/compile_options/WX.hlsl
tools/clang/test/HLSLFileCheck/hlsl/intrinsics/basic/intrinsic-examples_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/template-checks_Mod.hlsl
More recent:
tools/clang/test/HLSLFileCheck/hlsl/operators/binary/vector-matrix-binops.hlsl - this one came from commits circa-2018, but has CHECK equivalents
Copied from template tests
tools/clang/test/HLSLFileCheck/hlsl/template/dependent-sized_array.hlsl - has an un-filechecked warning that isn't relevant to dxc.
tools/clang/test/HLSLFileCheck/hlsl/template/elaborated-type-specifier.hlsl
tools/clang/test/HLSLFileCheck/hlsl/template/templateTypename.hlsl
Introduced by first commit. Only CHECK is for @main
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/attributes_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/const-expr_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/const-exprB_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/functions_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/implicit-casts_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/indexing-operator_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/literals_exact_precision_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/literals_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/packreg_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/scalar-assignments_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/string_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/typemods-syntax_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/conversions/varmods-syntax_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/matrix/matrix-assignments_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/matrix/matrix-syntax_Mod.hlsl
tools/clang/test/HLSLFileCheck/hlsl/types/vector/vector-assignments_Mod.hlsl
from directxshadercompiler.
Related Issues (20)
- [SPIR-V] Static class member initializer not implemented
- Segfault when trying to use hull shader as lib.
- Missing validation error on DS compilation with no patch constant signature
- Resources in groupshared memory causes internal compiler error
- QuadReadAcross(bool) Fails to Compile HOT 5
- [SPIR-V] Hitting max ID bound
- DxilValidation: TGSM size check should be per-entry in lib target
- integral_constant is exposed to the global namespace in DXC (trunk) HOT 2
- [SPIR-V][SM6.6] Payload access qualifiers HOT 1
- SamplerDescriptorHeap can be used to load textures. HOT 1
- SamplerDescriptorHeap = ResourceDescriptorHeap crashes DXC
- Multiple subscript into descriptor heaps are allowed.
- [SPIR-V] OpConstantNull Result Type <id> '12[%type_2d_image]' cannot have a null value HOT 3
- [Feature Request] Transplant XIC (Xbox Iterative Compiler) to General DXC HOT 1
- HLSL 2021 abandoned SELECT HOT 2
- [SPIR-V] Texture2D used with sampleCmp not tagged as depth texture HOT 2
- Non-determinism in Reassociate caused by address coincidences
- Initializing a struct to 0 with a resource type doesn't always produce a useful error
- DXC.EXE lacks support for long file paths
- New include path behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from directxshadercompiler.