Revision ac88374136ae0c9e83d3350ca3113f4bce893911 authored by lucy96chen on 16 December 2021, 22:48:04 UTC, committed by GitHub on 16 December 2021, 22:48:04 UTC
* Implemented instancing for the drawInstanced test and confirmed that test values taken at specific pixel location match expected values

* Removed writeImage() helper function as this is for debugging only

* Factored out shared test code and wrapped tests inside a base class with derived structs for each individual draw call variant; Added a test for indexed, instanced draws but test is currently not working correctly

* Indexed instancing test finish and working; Further refactor to move code that fills the test result array and creates the vertex and color buffers to the base test class

* Commented out image dump helper function at the top as it may still be needed for the remaining draw tests

* Added a new struct derived from the base test class for testing indirect but non-indexed draws; Moved required command signatures for indirect draws into D3D12Device to ensure they continue to exist outside of their respective draw calls; Moved command signature creation into D3D12Device::initialize(); Small consistency cleanup changes

* Added working indexed indirect draw call test

* Moved expectedResult and compareComputeResult() call into getTestResults() and renamed to checkTestResults()

* Rerun tests
1 parent f024d72
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
/source/slang/slang-stdlib-generated.h

/examples/heterogeneous-hello-world/shader.cpp
/multiple-definitions.hlsl
back to top