Comments (3)
@cassiebeckley - we think that this is the result of something you added recently that should be in the vk
namespace.
from directxshadercompiler.
Just updating this to say that this bug is now in 1.8.2405.17. It is no longer just an issue with DXC trunk on godbolt
from directxshadercompiler.
In the code that adds the builtin types, the pattern used for adding types in the vk namespace is
Note that the second condition is to check if the vk namespace has been defined. If not, it continues to the next condition, and eventually falls into the default case, which add the function in the default namespace:
DirectXShaderCompiler/tools/clang/lib/Sema/SemaHLSL.cpp
Lines 3851 to 3862 in 8c3f40c
We need to change this first condition, so that it continues if the vk namespace is not defined.
from directxshadercompiler.
Related Issues (20)
- [SPIR-V] Potential invalid OpKill when using HLSL clip api HOT 1
- DxilConfTest::UnaryHalfOpTest#HtanHalf is failing on recent 24H2 build
- [SPIR-V] Global defined struct { Texture2D; SamplerState } causes irrelevant texture array to be compiled incorrectly HOT 2
- [SPIR-V] Seg fault where source hlsl contains entry point forward declaration HOT 1
- [SPIR-V] A different thing to `ext_instruction` for GLSL.std.450 extended instruction set HOT 4
- Release 1.8.2407
- [SPIR-V] integral_constant doesn't work with enum values HOT 1
- DXIL Validator Hash HOT 1
- llvm::errs() dopesm HOT 1
- llvm::errs() doesn't do anything in release builds on Linux, in libdxcompiler.so HOT 5
- [SPIR-V] Invalid SPIR-V with function returning bigger size vector out variable than caller vector/sclar argument variable HOT 1
- [SPIR-V] DXC crashes when sampling float1 texture HOT 1
- [SPIR-V] FP classification functions generate spir-v with the incorrect return type.
- [SPIR-V] `found unregistered decl` when using out-of-line static member + member function HOT 3
- [SPIR-V] Provably dead code is still compiled when targeting SPIRV HOT 1
- [Feature Request] Build the DXIL validator library both as a dynamic and static library to allow full flexibility
- [Feature Request] Support bypassing/preview hash value in Hash Verification HOT 2
- [SPIR-V] Assert reached when splatting a vector to a scalar inout param
- Implicit cast from float1 to inout float3 hits an assert for DXIL HOT 1
- [SPIR-V] Assertion failed when assigning non-bool type variable to bool type variable with ternary operator HOT 2
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.