Comments (1)
From discord eddyb says:
to add context to this, it's silly like this because specifically the #[spirv(...)] attributes that denote an entry-point are only processed when that function is codegen'd. this also means you can probably cause it to be monomorphized more than once if you do weird things with calling it from other functions :/
from rust-gpu.
Related Issues (20)
- Infrastructure for using ShaderToy as a test corpus HOT 5
- Ported shadertoy shader runs very slow (fractal pyramid) HOT 5
- Unable to build rustc_codegen_spirv with nightly 2023-09-30 HOT 5
- Improve documentation to include visual of what example app should look like? HOT 2
- Conditionals and code generation performance HOT 3
- Cargo component not available with nightly 2023-05-27 which is publicised on crates.io
- adding spirv-std anywhere in the worskspace, slows down the CPU code due to libm feature
- Compile with Proc Macro HOT 2
- Large array variable initialization (`let arr = [0; 32 * 1024];`) compiles very slowly. HOT 2
- Inliner->`mem2reg` can quadratically amplify already-exponential inlining (turning seconds into minutes).
- Consider build CLI (e.g. `cargo gpu`) mapping `spirv-std` deps to toolchain & backend versions. HOT 4
- Make error messages more human HOT 1
- spirv-tools: Assertion `env != SPV_ENV_WEBGPU_0' failed.(my bug report)
- Allow to compile rust-builder as a static c library with the builder calls exported
- Allow for dynamic indexing of texture arrays. HOT 3
- Operator Overlaoding support HOT 2
- Compiling uom crashes the compiler
- spirv_builder sometimes cannot find symbols
- discord link expired
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 rust-gpu.