mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 21:01:27 +00:00
Don't overwrite sampler types during writing
This commit is contained in:
1 parent
88939d1f21
commit
c49496bc16
1 file changed
+2
-1
@@ -517,7 +517,8 @@ void Serialiser::Serialise(const char *name, D3D12Descriptor &el)
|
||||
}
|
||||
|
||||
// for sampler types, this will be overwritten when serialising the sampler descriptor
|
||||
el.nonsamp.type = type;
|
||||
if(m_Mode < WRITING)
|
||||
el.nonsamp.type = type;
|
||||
|
||||
switch(type)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user