mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 15:46:08 +00:00
Go back to reporting normalised vertex inputs on GL as SNorm/UNorm
* This is still accurate, what we're missing is "read data as int, then cast to float" which is represented by setting 'floatCast' to true. A normalized cast or interpret is accurately represented by saying the input is snorm/unorm typed.
This commit is contained in:
@@ -1551,13 +1551,12 @@ void DoSerialise(SerialiserType &ser, GLPipe::VertexAttribute &el)
|
||||
{
|
||||
SERIALISE_MEMBER(enabled);
|
||||
SERIALISE_MEMBER(floatCast);
|
||||
SERIALISE_MEMBER(normalizedCast);
|
||||
SERIALISE_MEMBER(format);
|
||||
SERIALISE_MEMBER(genericValue);
|
||||
SERIALISE_MEMBER(vertexBufferSlot);
|
||||
SERIALISE_MEMBER(byteOffset);
|
||||
|
||||
SIZE_CHECK(36);
|
||||
SIZE_CHECK(32);
|
||||
}
|
||||
|
||||
template <typename SerialiserType>
|
||||
|
||||
Reference in New Issue
Block a user