@@ -67,14 +67,16 @@ description: Empowering real-time graphics developers with advanced language fea
6767 <hr>
6868 </h3>
6969 <div class="col-sm-5">
70- The Slang compiler can generate code for a wide variety of targets: D3D12, Vulkan, Metal, D3D11,
71- OpenGL, CUDA, WebGPU and even generate code to run on a CPU. For textual targets, such as Metal Shading
72- Language (MSL) and CUDA, Slang produces readable code that preserves original identifier names, as
73- well as the type and call structure, making it easier to debug.
70+ <p>
71+ The Slang compiler can generate code for a wide variety of targets: D3D12, Vulkan, Metal, D3D11,
72+ OpenGL, CUDA, WebGPU and even generate code to run on a CPU. For textual targets, such as Metal Shading
73+ Language (MSL) and CUDA, Slang produces readable code that preserves original identifier names, as
74+ well as the type and call structure, making it easier to debug.
75+ </p>
7476 </div>
7577
7678 <div class="col-sm-7">
77- <img class="img-fluid" src="/images/write-once.webp" />
79+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }} /images/write-once.webp" />
7880 </div>
7981 </div>
8082 </div>
@@ -85,29 +87,30 @@ description: Empowering real-time graphics developers with advanced language fea
8587 <hr>
8688 </h3>
8789 <div class="col-sm-6">
88- <img class="img-fluid" src="/images/latest-feature.webp" />
90+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }} /images/latest-feature.webp" />
8991
9092 </div>
9193
9294 <div class="col-sm-6">
93- Slang code is highly portable, but can still leverage unique platform capabilities, including the
94- latest
95- features in
96- Direct3D and Vulkan. For example, developers can make full use of
97- <a href="/slang/user-guide/convenience-features.html#pointers-limited">pointers</a> when generating
98- SPIR-V.
99- Slang's <a href="/slang/user-guide/capabilities.html">capability system</a> helps applications
100- manage
101- feature
102- set differences
103- across target platforms by ensuring code only uses available features during the type-checking step,
104- before
105- generating
106- final code. Additionally, Slang provides <a href="/slang/user-guide/a1-04-interop.html">flexible
107- interop</a>
108- features to enable
109- directly embedding target code or SPIR-V into generated shaders.
110-
95+ <p>
96+ Slang code is highly portable, but can still leverage unique platform capabilities, including the
97+ latest
98+ features in
99+ Direct3D and Vulkan. For example, developers can make full use of
100+ <a href="/slang/user-guide/convenience-features.html#pointers-limited">pointers</a> when generating
101+ SPIR-V.
102+ Slang's <a href="/slang/user-guide/capabilities.html">capability system</a> helps applications
103+ manage
104+ feature
105+ set differences
106+ across target platforms by ensuring code only uses available features during the type-checking step,
107+ before
108+ generating
109+ final code. Additionally, Slang provides <a href="/slang/user-guide/a1-04-interop.html">flexible
110+ interop</a>
111+ features to enable
112+ directly embedding target code or SPIR-V into generated shaders.
113+ </p>
111114 </div>
112115 </div>
113116 </div>
@@ -118,20 +121,32 @@ description: Empowering real-time graphics developers with advanced language fea
118121 <hr>
119122 </h3>
120123 <div class="col-sm-6">
121- <img class="img-fluid" src="/images/autodiff.jpg" />
124+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }} /images/autodiff.jpg" />
122125
123126 </div>
124127
125128 <div class="col-sm-6">
126129 <p>Slang can automatically generate both forward and backward derivative propagation code for
127130 complex functions that involve arbitrary control flow and dynamic dispatch. This allows existing
128- rendering codebases to easily become differentiable, or for Slang to serve as the kernel
129- language in a PyTorch-driven machine learning framework via <a href="https://shader-slang.com/slang/user-guide/a1-02-slangpy.html">slangtorch</a>.</p>
131+ rendering codebases to easily become differentiable, enabling adoption of neural components, or integration into a training process.</p>
130132 <a class="btn btn-primary" href="/slang/user-guide/autodiff.html">Automatic Differentiation</a>
131133 </div>
132134 </div>
133135 </div>
134-
136+ <div class="section">
137+ <div class="row">
138+ <h3>Seamless Integration with Python
139+ <hr>
140+ </h3>
141+ <div class="col-sm-6">
142+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }}/images/slangpy.jpg" />
143+ </div>
144+ <div class="col-sm-6">
145+ <p>Slang code can be integrated directly into your Python/PyTorch training loop with SlangPy. You can implement complex control-divergent algorithms, sparse data structures, make use of advanced GPU features in Slang, and call your Slang code from Python without any boilerplate with the SlangPy package.</p>
146+ <a class="btn btn-primary" href="https://slangpy.shader-slang.org">SlangPy</a>
147+ </div>
148+ </div>
149+ </div>
135150 <div class="section">
136151 <div class="row">
137152 <h3>Scalable Software Development with Modules
@@ -159,7 +174,7 @@ description: Empowering real-time graphics developers with advanced language fea
159174 <hr>
160175 </h3>
161176 <div class="col-sm-6">
162- <img class="img-fluid" src="/images/generics.jpg" />
177+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }} /images/generics.jpg" />
163178
164179 </div>
165180
@@ -182,7 +197,7 @@ description: Empowering real-time graphics developers with advanced language fea
182197 <hr>
183198 </h3>
184199 <div class="col-sm-6">
185- <img class="img-fluid" src="/images/hlsl-compatibility.jpg" />
200+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }} /images/hlsl-compatibility.jpg" />
186201
187202 </div>
188203
@@ -204,7 +219,7 @@ description: Empowering real-time graphics developers with advanced language fea
204219 <hr>
205220 </h3>
206221 <div class="col-sm-6">
207- <img class="img-fluid" src="/images/tooling-support.webp" />
222+ <img class="img-fluid" src="{{ site.url }}{{ site.baseurl }} /images/tooling-support.webp" />
208223
209224 </div>
210225
0 commit comments