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:
baldurk
2020-08-13 10:22:56 +01:00
parent 9df6103be4
commit aac929af8f
4 changed files with 14 additions and 34 deletions
+1 -2
View File
@@ -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>