Comments (4)
Currently pointers are emitted as normal 64bit integers in our debug info because we weren't sure if the downstream tools supported OpDebugTypePointer. We can added this if required.
from slang.
Also our GLSL support is experimental and is provided only to help developers transition from existing/legacy GLSL codebase. The GLSL support isn't meant to be complete or kept up-to-date with the GLSL spec.
from slang.
Can I ask a simple repro case for the issue?
from slang.
struct Data
{
float4x3 mat;
float4 vec;
float3 arr[5];
Data* next;
}
ConstantBuffer<Data> cData;
RWStructuredBuffer<float> result;
[numthread(1,1,1)]
void main()
{
result[0] = cData.next->arr[2].x + cData.next->vec.y;
}
Run with slangc test.slang -o test.spv -g2
.
We should be producing an OpDebugTypePointer
member in the OpDebugTypeStruct
for Data
.
from slang.
Related Issues (20)
- Capability System: Set all extension capabilities to include version relationship for culling capabilities accordingly HOT 1
- Capabilities System: If a profile is set and implicitly upgraded, we should emit a warning. HOT 1
- Make sure performance profiler is disabled in production environment HOT 1
- Make sure performance profiler is disabled in production environment HOT 2
- How to link together generated CPP and CUDA code HOT 6
- Capability System: Redesign how failed capabilities on EntryPoints<->compileTarget are described to a user
- AD Cleanup: Unify how the different transcribers work, and cleanup their dispatch logic
- Capability System: capability-generator-main.cpp runs should support inclusiveJoin and union+error separately HOT 1
- AD Cleanup: Fix confusing naming conventions for synthesized methods and types
- AD Cleanup: Cleanup `slang-ir-autodiff-unzip.cpp` & `slang-ir-autodiff-unzip.h`
- AD Cleanup: Avoid dealing with invalid IR by representing out-of-scope accesses through `Push` and `Pop` instructions
- Add OpCapability only once
- AD Cleanup: CFG normalization replaces break statements with a boolean break flag `bflag`, but this currently means the opposite of what it should
- AD Cleanup: break-elimination during the CFG normalization step can cause the loop condition to be evaluated an extra time.
- Lower CMake version requirement
- GLSL texture functions need to support int and uint types of samplers as well as float HOT 1
- AD Enhancement: Avoid SSA-ing aggregate types by treating pointer-based element & field accesses as if they were differentiable method calls.
- AD Enhancement: Enhance DCE to avoid situations where mutating primal methods are called multiple times during the reverse-mode pass, potentially causing slow-down
- [] operator partially supported for Texture2DMS HOT 3
- .mips operator function not supported Texture2D HOT 1
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 slang.