Revision e67af5b1a3993529c702ff2924dea11fd1017d2e authored by Yong He on 02 June 2021, 23:58:25 UTC, committed by GitHub on 02 June 2021, 23:58:25 UTC
* Various Fixes to gfx, reflection and emit.

- Fix GLSL emit to properly output `*bitsTo*` functions for `IRBitCast` insts.

- Add line directive mode setting for `ISession`.

- Extend `TypeLayout::getElementStride` to handle `VectorType` case.

- Fix `IDevice::readBufferResource` 's D3D12  implementation to copy only the requested bytes out.

- Fix `render-test` to use the `ISession` from `gfx` instead of creating its own `ISession` to make sure `gfx` and `render-test` agree on WitnessTable and RTTI IDs.

- Extend `render-test` to support filling vector and matrix values in the new `set x = ...` TEST_INPUT syntax.

- Add a `dynamic-dispatch-15` test case to make sure packing / unpacking works correctly across all targets, and to make sure render-test's RTTI/WitnessTable ID filling logic is correct for non-trivial cases.

* Remove default-major test

* Fix cyclic reference in `ExtendedTypeLayout`.

* Move `lineDirectiveMode` setting to `TargetDesc`.

Add `structureSize` to `TargetDesc` and `SessionDesc` for future binary compatibility.

* Cleanup.

Co-authored-by: Yong He <yhe@nvidia.com>
1 parent 8e57166
Raw File
.gitignore
*.exe
*.pdb
.vs
.vscode
*.VC.opendb
*.VC.db
*.vcxproj.user
*.sdf
*.ilk
*.obj
*.slang-module
*.zip
*.ini
.clang-format

bin/
intermediate/
build.*/
Makefile

# Files generated by test runner.
#
# Note: in some cases a `.expected` file needs to be checked in, but
# trying to exhaustively enumerate those cases is hard with the
# way the tests are currently sorted.

*.actual
*.expected
*.expected.png
*.actual.png
*.actual.txt
*.slang-repro

tests/**/*.exp
tests/**/*.lib
tests/**/*.dll
tests/**/*.cpp
tests/**/*.slang-lib
tests/**/*.slang-module

# Files generated by other shader compilers

*.spv

# Intermediate source files generated during build process
/source/slang/slang-generated-*.h
/source/slang/hlsl.meta.slang.h
/source/slang/core.meta.slang.h
prelude/*.h.cpp
/source/slang/cpp.hint
/source/slang/slang-value-generated.h
/source/slang/slang-value-generated-macro.h
/source/slang/slang-ref-object-generated.h
/source/slang/slang-ref-object-generated-macro.h
/source/slang/slang-ast-generated.h
/source/slang/slang-ast-generated-macro.h
/docs/_site
/docs/Gemfile.lock
/docs/Gemfile
back to top