<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tools/render-test/cpu-memory-binding.cpp, 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-01-15T19:58:45+00:00</updated>
<entry>
<title>Bind Location (#1166)</title>
<updated>2020-01-15T19:58:45+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2020-01-15T19:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=662721ba4ab0e38924701df4c876a86eb8390968'/>
<id>urn:sha1:662721ba4ab0e38924701df4c876a86eb8390968</id>
<content type='text'>
* First pass at BindLocation.

* Added BindSet::init - for initializing with two input constant buffers. Needs better name, and perhaps should be another class.

* Fix handling of constant buffer stripping.
Improved initialization.

* Trying to generalize BindLocation a little more.
Split out CPULikeBindRoot.

* More work to make BindLocation et al work with non uniform bindings.

* Added parsing to a location.

* WIP: Trying to get CPU working with BindLocation.

* Describe problem of knowing the type of the reference point in the binding table.

* More ideas on getBindings fix.

* Remove BindSet as member of BindLocation.

* Added BindLocation::Invalid

* Made BindLocation able to be key in hash

* Use BindLocation for bindings on BindingSet.

* Added cuda and nvrtc categories to test infrastructure.
Disabled CUDA synthetic tests by default.
Fixed such that all tests now produce something in BindLocation style.

* Use m_userIndex instead of m_userData on Resource.
Move the binding setup out of cpu-compute-util (as no longer CPU specific)

* Removed CPUBinding - used BindLocation/BindSet instead.
Fixed some bugs around indexOf around uniform indirection.

* Renamed BindSet::Resource -&gt; BindSet::Value.

* Document BindLocation.

* Fixes for Clang/GCC
Improve invariant requirement handling when constructing from BindPoints.
</content>
</entry>
<entry>
<title>`Repro` functionality (#1085)</title>
<updated>2019-10-21T19:32:13+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-10-21T19:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=5ca446888656da91165b7bf90b7b2195d1e1afac'/>
<id>urn:sha1:5ca446888656da91165b7bf90b7b2195d1e1afac</id>
<content type='text'>
* WIP on serialize/save state.

* Relative string encoding.

* Added RelativeContainer unit test.
Split out RelativeContainer into core.

* Fix bug in RelativeString encoding.

* More work around relative container.

* Fix checks.

* Use RelativeBase for safe access.
Use malloc/free/realloc instead of List.

* Add natvis support for relative types.

* Setting up of state (not includes) writing of repro state.

* Capture after spCompile.

* Writing SourceFile and file system files.
Added -dump-repo

* First pass at loading state.

* First pass at reading repro.

* Small optimization around Safe32Ptr

* Refactor how repro data is stored - to make saving off the files more simple, by having all all backed by 'files'.
Make file loading always set up PathInfo so we get uniqueIdentifier info.

* Generate unique file names.

* Added RelativeFileSystem
Added saveFile to ISlangFileSystemExt and implemented for interfaces
Added mechanism to save of files (and manifest)

* Added ability to replace files in repo with directory holding their contents.

* Add support for entry points.

* Fix problem compiling on linux.

* Added SIMPLE_EX option, where everything on command line must be specified.

* Fix typo in unit test for relative container.

* Fix another typo in unit test for RelativeContainer.

* Fix small bugs.

* Fix release unused variable issue in slang-state-serialize.cpp

* Fix checking for SIMPLE_EX in testing, else broke COMMAND_LINE_SIMPLE.

* Fix warnings on 32 bit debug build.

* Added import-subdir-search-path-repro.slang test. Although disabled for now as writes to root of slang project.

* Remove wrong version of import-subdir-search-path-repro.slang

* Added import-subdir-search-path-repro.slang
</content>
</entry>
<entry>
<title>Support for unbounded array of arrays  (#1078)</title>
<updated>2019-10-11T18:14:08+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-10-11T18:14:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9c17d0be79834a8ebe2888aed8905bae355cb674'/>
<id>urn:sha1:9c17d0be79834a8ebe2888aed8905bae355cb674</id>
<content type='text'>
* WIP: Unsized arrays on CPU.

* unbounded-array-of-array working on CPU.

* Remove some left over comments.
</content>
</entry>
<entry>
<title>Refactor render-test to make cross platform (#1053)</title>
<updated>2019-09-13T19:59:15+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-09-13T19:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=c2e5d2468ad6a38cdb8a067da0678302f6cc6066'/>
<id>urn:sha1:c2e5d2468ad6a38cdb8a067da0678302f6cc6066</id>
<content type='text'>
* First pass of render-test refactor.

* Make window construction a function that can choose an implementation.

* Remove OpenGL as currently has windows dependency.

* Disable Vulkan as Renderer impl has dependency on windows.

* Pass Window in as parameter of 'update'.

* Add win-window.cpp as was missing.

* Fix warning on windows about signs during comparison.
</content>
</entry>
<entry>
<title>ParameterBlock support. (#1049)</title>
<updated>2019-09-12T14:15:53+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-09-12T14:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=bde858b31ac99b84ffba546d1022b34bb4621d49'/>
<id>urn:sha1:bde858b31ac99b84ffba546d1022b34bb4621d49</id>
<content type='text'>
* Updated docs to reflect ParameterBlock support
* Fixed CPU binding to handle ParameterBlocks
* Updated parameter-block.slang to be able to work as a CPU test</content>
</entry>
<entry>
<title>CPU compute testing on non windows targets (#1045)</title>
<updated>2019-09-09T17:54:31+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-09-09T17:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=047daae9300c8a94d28383cf992ce00e3ad2da1e'/>
<id>urn:sha1:047daae9300c8a94d28383cf992ce00e3ad2da1e</id>
<content type='text'>
* WIP: Refactor of CPUCompute and stand alone cpu-render-test

* Fix compilation on CygWin.

* Make CPU compute tests run on non windows targets.

* Check that C/C++ compiler is available for CPU compute.

* Fix some tabbing issues.

* Add -fPIC on gfx

* Use dxcompiler_47.dll from slang-binaries on windows.

* make https for git module slang-binaries

* Fix comment in premake5.lua around d3dcompiler_47.dll

* Add resources to the CPUComputeUtil::Context to keep in scope.

* Fixes problem compiling on cygwin where dx12 is included in build of gfx lib.
</content>
</entry>
<entry>
<title>Make CPUMemoryBinding::Location use a ctor. (#1042)</title>
<updated>2019-09-03T21:41:23+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-09-03T21:41:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=146c343f967fdc23f9627a0b9afa58ba2e80449d'/>
<id>urn:sha1:146c343f967fdc23f9627a0b9afa58ba2e80449d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CPU uniform entry point params (#1041)</title>
<updated>2019-09-03T18:36:55+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-09-03T18:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b5b3a8d36c09631cbd4cf236c0280a314436748d'/>
<id>urn:sha1:b5b3a8d36c09631cbd4cf236c0280a314436748d</id>
<content type='text'>
* * Made entry point parameters a separate entry point
* Made CPUMemoryBinding work with entry point parameters/initialize constant buffers
* Added isCPUOnly to bindings, because entry point parameters do not layout like constant buffer
* entry-point-uniform.slang works on CPU

* EntryPointParams -&gt; UniformEntryPointParams
Updated CPU documentation.

* Update cpu-target.md to removed completed issues.

* Only allocate CPU buffers if the size is &gt; 0.
Small update to cpu-target doc.
</content>
</entry>
<entry>
<title>Use getElementStride in toIndex. (#1039)</title>
<updated>2019-08-28T14:26:48+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-08-28T14:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=fecfb36e61c3bdb133b57713c2b6d27ff7924a9b'/>
<id>urn:sha1:fecfb36e61c3bdb133b57713c2b6d27ff7924a9b</id>
<content type='text'>
Make toIndex and toField methods of Location.</content>
</entry>
<entry>
<title>WIP: CPU sample working with Texture2D (#1033)</title>
<updated>2019-08-26T19:45:28+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2019-08-26T19:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2c4307a9c1a5d1ec92599bb6afe065636ff81df3'/>
<id>urn:sha1:2c4307a9c1a5d1ec92599bb6afe065636ff81df3</id>
<content type='text'>
* WIP: Memory binding.

* WIP for binding.

* Fix handling of writing to constant buffer.

* Fix bug in handling indices.
</content>
</entry>
</feed>
