From 9b51d1bf6fc70920f899874634d1f671105f430d Mon Sep 17 00:00:00 2001 From: Frank Galligan Date: Wed, 18 Oct 2017 15:31:03 -0700 Subject: [PATCH] Spec: Change RansBitDecoder size to varUI32 - Bitstream 2.2 changed the RansBitCoder size from UI32 to varUI32. - This is associated with KhronosGroup/glTF#1114 --- docs/spec/edgebreaker.traversal.md | 2 +- docs/spec/prediction.decoder.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spec/edgebreaker.traversal.md b/docs/spec/edgebreaker.traversal.md index 6b26360..66a7517 100644 --- a/docs/spec/edgebreaker.traversal.md +++ b/docs/spec/edgebreaker.traversal.md @@ -11,7 +11,7 @@ void ParseEdgebreakerTraversalStandardData() { eb_start_face_buffer size * UI8 for (i = 0; i < num_attribute_data; ++i) { attribute_connectivity_decoders_prob_zero[i] UI8 - attribute_connectivity_decoders_size[i] UI32 + attribute_connectivity_decoders_size[i] varUI32 attribute_connectivity_decoders_buffer[i] size * UI8 } } diff --git a/docs/spec/prediction.decoder.md b/docs/spec/prediction.decoder.md index 21c067a..e6a8e0f 100644 --- a/docs/spec/prediction.decoder.md +++ b/docs/spec/prediction.decoder.md @@ -90,7 +90,7 @@ void DecodeTransformData() { ~~~~~ void ParsePredictionRansData() { prediction_rans_prob_zero UI8 - prediction_rans_data_size UI32 + prediction_rans_data_size varUI32 } ~~~~~ {:.draco-syntax}