* If we only garbage collect after a successful create, applications which
deliberately leak state objects and only free them when they see a failed
create will not have a change to garbage collect.
* We commit statically linked x64 binaries for clang-format-15 for windows and
linux to make the transition easier for anyone running a linux distro that
doesn't yet support llvm 15, or in future for distros that drop support for
it.
ie.
struct A {
vec3 m1;
vec3 m2;
vec3 m2;
};
uniform A a[1];
with a[0] being passed to a function.
Previously it would look for "a.m1", if that is not found then it looks for "a[0].m1" etc.
Include the discarded offset when indexing to get the post mod data per fragment
Do not include the discarded offset when indexing to get the primitive ID per fragment (primitive ID uses a replacement shader which is not affected by discards in the original shader)
Store the post mod depth data in slot 1 of the depth output to make the indexing simpler to keep track of discarded fragments
Set the post mod data for discarded fragments (excluding the final fragment) to be the known texture after (which starts as the pre mod data and is updated for non-discarded fragments).
Instead of GPUVendorFromPCIVendor() which returns Unknown for the llvm_pipe driver.
This then prevents being able to force replay to run on llvm_pipe when opening a capture.
- .cache/: generated by clangd
- compile_commands.json: usually generated by vscode or build system
- .vsocde: generated by vscode
`compile_commands.json` and `.vscode` are usually specific to a person's
environment, not configurable in any way, so there is no reason to put
them in the git repository at all.
Previously the code was using the original ID to look for the texture in m_pDriver->m_Textures which would create a default entry if the ID was not found leading to numSlices = 0 and then the pipeline state resource tooltip would show "covers slices 0-4294967294"
The save capture modal message box could process messages which could delete a LiveCapture, the pointer had already been copied into a local list, then try to use deleted memory.