<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/compute/logic-no-short-circuit-evaluation.slang, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2025-07-30T16:27:38+00:00</updated>
<entry>
<title>Lowering unsupported matrix types for GLSL/WGSL/Metal targets (#7936)</title>
<updated>2025-07-30T16:27:38+00:00</updated>
<author>
<name>venkataram-nv</name>
<email>vedavamadath@nvidia.com</email>
</author>
<published>2025-07-30T16:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=92ee2927d0012dd454dff7bb53b900f5240073d5'/>
<id>urn:sha1:92ee2927d0012dd454dff7bb53b900f5240073d5</id>
<content type='text'>
* Add emit cases for WGSL and GLSL

* Fix compilation warnings

Modify short cutting test to reflect change in emit logic

Lower matrix for metal as well

Add emit matrix logic for metal

Fix compiler warning

Brace initializer for lowered matrices

Fix compiler warnings

* Tests for metal

* Fix mult, any, and determinant

* Fix matrix-matrix multiplication

* Fix mat mul to be element-wise

* Fix compiler warning

* Move makeMatrix to legalization

* Move unary and binary arithmetic operator lowering to legalization

* Remove emit logic and move final comparison operators to legalization

* Handle vector/matrix negation for WGSL

* Restore older SPIR-V emit logic

* Address PR comments

* Revert to zero minus for negation

* format code

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Add a new capability hlsl_2018 that avoid using select/and/or (#7003)</title>
<updated>2025-05-06T00:27:00+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-05-06T00:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6907ea5c8f83712f40fbc7713de4f4bb656c6c35'/>
<id>urn:sha1:6907ea5c8f83712f40fbc7713de4f4bb656c6c35</id>
<content type='text'>
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Use and() and or() functions for logical-AND and OR (#6310)</title>
<updated>2025-02-08T02:27:23+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-02-08T02:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=57b09a8986668626c37055e431fa0ac6449d7214'/>
<id>urn:sha1:57b09a8986668626c37055e431fa0ac6449d7214</id>
<content type='text'>
* Use and() and or() functions for logical-AND and OR

With this commit, Slang will emit function calls to `and()` and `or()`
for the logical-AND and logical-OR when the operands are non-scalar and
the target profile is SM6.0 and above. This is required change from
SM6.0.

For WGSL, there is no operator overloadings of `&amp;&amp;` and `||` when the
operands are non-scalar. Unlike HLSL, WGSL also don't have `and()` nor
`or()`. Alternatively, we can use `select()`.</content>
</entry>
</feed>
