diff --git a/README.md b/README.md index 247ac7a..2943b4f 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,10 @@ -# SamplerFeedbackStreaming +# Sampler Feedback Streaming This repository contains a demo of Sampler Feedback Streaming, a technique using sampler feedback to guide loading of tiles of a reserved resource on-demand per-frame. This allows scenes containing 100s of GBs of resources to be drawn using much less physical memory. The scene below uses just ~200MB of a 1GB heap, despite over 350GB of total texture resources. ![Sample screenshot](sampler-feedback-streaming.jpg "Sample screenshot") Textures derived from [Hubble Images](https://www.nasa.gov/mission_pages/hubble/multimedia/index.html), see the [Hubble Copyright](https://hubblesite.org/copyright) -The demo requires at least Windows version 19041 and a GPU with Sampler Feedback Support. - -Intel Iris Xe Graphics, as can be found in 11th Generation Intel® Core™ processors, will run this application as of BETA driver [30.0.100.9667](https://downloadcenter.intel.com/download/30522/Intel-Graphics-BETA-Windows-10-DCH-Drivers) - -Note this repository does not contain the textures shown above, which total over 13GB. A link to these textures will hopefully be provided soon. Test textures are provided, as is a mechanism to convert BCx format DDS files. - -This repository will be updated When DirectStorage for Windows® becomes available. - ## License Copyright 2021 Intel Corporation @@ -35,6 +27,16 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +## Requirements + +The demo requires at least Windows version 19041 and a GPU with Sampler Feedback Support. + +Intel Iris Xe Graphics, as can be found in 11th Generation Intel® Core™ processors, will run this application as of BETA driver [30.0.100.9667](https://downloadcenter.intel.com/download/30522/Intel-Graphics-BETA-Windows-10-DCH-Drivers) + +Note this repository does not contain the textures shown above, which total over 13GB. A link to these textures will hopefully be provided soon. Test textures are provided, as is a mechanism to convert BCx format DDS files. + +This repository will be updated When DirectStorage for Windows® becomes available. + ## Build Instructions Download the source. Build the solution file with Visual Studio 2019. @@ -43,6 +45,20 @@ Under x64/Release or x64/Debug find the executable and run. Note the batch files depend on textures that will be posted at a later date. +## Running + +By default, the application starts looking at a single object, "terrain", which allows for exploring sampler feedback streaming. + + c:\SamplerFeedbackStreaming\x64\Release> expanse.exe + +![default startup](./readme-images/default-startup.jpg "default startup") + +There is a batch file, demo.bat, which starts up in a more interesting state: + + c:\SamplerFeedbackStreaming\x64\Release> demo.bat + +![demo batch file](./readme-images/demo-bat.jpg "demo.bat") + ## Keyboard controls There are a lot of keyboard controls - a function of giving many demos: @@ -93,5 +109,3 @@ In this case, the hardware sampler is reaching across tile boundaries to perform There are also a few known bugs: * entering full screen in a multi-gpu system moves the window to a monitor attached to the GPU by design. However, if the window starts on a different monitor, it "disappears" on the first maximization. Hit *escape* then maximize again, and it should work fine. * full-screen while remote desktop is broken *again*. Will likely fix soon. - -![Sample screenshot](./readme-images/demo-bat.jpg "Sample screenshot")