<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tools/gfx-unit-test/graphics-smoke.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>2021-12-16T22:48:04+00:00</updated>
<entry>
<title>gfx: Add tests for instanced, indexed instanced, and indirect draw calls (#2060)</title>
<updated>2021-12-16T22:48:04+00:00</updated>
<author>
<name>lucy96chen</name>
<email>47800040+lucy96chen@users.noreply.github.com</email>
</author>
<published>2021-12-16T22:48:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ac88374136ae0c9e83d3350ca3113f4bce893911'/>
<id>urn:sha1:ac88374136ae0c9e83d3350ca3113f4bce893911</id>
<content type='text'>
* 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</content>
</entry>
<entry>
<title>Implement instanced and indirect draw calls (#2053)</title>
<updated>2021-12-09T23:15:16+00:00</updated>
<author>
<name>lucy96chen</name>
<email>47800040+lucy96chen@users.noreply.github.com</email>
</author>
<published>2021-12-09T23:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=62161b802a8efbf6820ba79f880c99e455ab3bf6'/>
<id>urn:sha1:62161b802a8efbf6820ba79f880c99e455ab3bf6</id>
<content type='text'>
* Added implementations of drawInstanced, drawIndexedInstanced, drawIndirect, and drawIndexedIndirect to both render-d3d12 and render-vk

* drawInstanced test WIP

* Draw calls implemented, working on debugging test

* Added new test and accompanying shader file

* Fixes.

* Fixes.

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
