<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/bugs/invalid-swizzle-count.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-02-27T18:32:14+00:00</updated>
<entry>
<title>Allow `.member` syntax on vector and scalars. (#6424)</title>
<updated>2025-02-27T18:32:14+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-02-27T18:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6cf15f4ea1fe044d8227440dcc30ac712334568e'/>
<id>urn:sha1:6cf15f4ea1fe044d8227440dcc30ac712334568e</id>
<content type='text'>
* Allow `.member` syntax on vector and scalars.

* Fix.

* fix.

* Fix.

* update comment.

* Fix tests.

* Fix warning.

* Add more tests.</content>
</entry>
<entry>
<title>Fix for invalid swizzle causing crash (#4690)</title>
<updated>2024-07-19T18:52:25+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-07-19T18:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4ae58a720e6f8d63ff5c74fd14f630137dfd0c0c'/>
<id>urn:sha1:4ae58a720e6f8d63ff5c74fd14f630137dfd0c0c</id>
<content type='text'>
* Fix for invalid swizzle causing crash

Fixes #4689

If swizzle code is provided 5+ element swizzle the checkSwizzleExpr code will do an out of bounds array access and crash.

* switch test to check for to ensure no crash

* cleanup swizzle errors to only emit once

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
