<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/diagnostics/matrix-swizzle.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>2020-06-02T16:12:35+00:00</updated>
<entry>
<title>Working matrix swizzle (#1354)</title>
<updated>2020-06-02T16:12:35+00:00</updated>
<author>
<name>Dietrich Geisler</name>
<email>dag368@cornell.edu</email>
</author>
<published>2020-06-02T16:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=926a0c51071f6cf5718c77958cc801030ce9d404'/>
<id>urn:sha1:926a0c51071f6cf5718c77958cc801030ce9d404</id>
<content type='text'>
* Working matrix swizzle.

Supports one and zero indexing and multiple elements.

Performs semantic checking of the swizzle.  Matrix swizzles are
transformed into a vector of indexing operations during lowering to the
IR.

This change does not handle matrix swizzle as lvalues.

* Renaming

* Added missing semicolon

* Initialize variable for gcc

* Added the expect file for diagnostics

* Matrix swizzle updated per PR feedback

* Stylistic fix

* Formatting fixes

* Fix compiling with AST change.
Change indentation.

Co-authored-by: jsmall-nvidia &lt;jsmall@nvidia.com&gt;</content>
</entry>
</feed>
