https://github.com/shader-slang/slang
Revision 926a0c51071f6cf5718c77958cc801030ce9d404 authored by Dietrich Geisler on 02 June 2020, 16:12:35 UTC, committed by GitHub on 02 June 2020, 16:12:35 UTC
* 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 <jsmall@nvidia.com>
1 parent 8acb704
History
Tip revision: 926a0c51071f6cf5718c77958cc801030ce9d404 authored by Dietrich Geisler on 02 June 2020, 16:12:35 UTC
Working matrix swizzle (#1354)
Tip revision: 926a0c5
File Mode Size
docs
examples
external
prelude
source
tests
tools
.editorconfig -rw-r--r-- 937 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 480 bytes
.gitmodules -rw-r--r-- 774 bytes
.travis.yml -rw-r--r-- 1.7 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 7.4 KB
appveyor.yml -rw-r--r-- 4.0 KB
premake5.lua -rw-r--r-- 34.8 KB
slang-com-helper.h -rw-r--r-- 4.8 KB
slang-com-ptr.h -rw-r--r-- 4.8 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 127.2 KB
slang.sln -rw-r--r-- 11.7 KB
test.bat -rw-r--r-- 1.4 KB
travis_build.sh -rw-r--r-- 460 bytes
travis_test.sh -rw-r--r-- 435 bytes

README.md

back to top