Fix non-ASCII issues in 3rd party files. Refs #915

* Each of these have been reported upstream respectively, but changing
  it manually here to avoid a potentially long turnaround time.
This commit is contained in:
Baldur Karlsson
2018-03-13 20:21:50 +00:00
parent f49dfadc9a
commit 3b239dcfa9
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const char *CaseConvert(int character, enum CaseConversion conversion);
// When performing CaseConvertString, the converted value may be up to 3 times longer than the input.
// Ligatures are often decomposed into multiple characters and long cases include:
// ΐ "\xce\x90" folds to ΐ "\xce\xb9\xcc\x88\xcc\x81"
// "\xce\x90" folds to "\xce\xb9\xcc\x88\xcc\x81"
const int maxExpansionCaseConversion=3;
// Converts a mixed case string using a particular conversion.
@@ -577,7 +577,7 @@ protected:
/********************************************************************************
The following IO resolver maps types in HLSL register space, as follows:
t for shader resource views (SRV)
t - for shader resource views (SRV)
TEXTURE1D
TEXTURE1DARRAY
TEXTURE2D
@@ -592,7 +592,7 @@ t for shader resource views (SRV)
BUFFER
TBUFFER
s for samplers
s - for samplers
SAMPLER
SAMPLER1D
SAMPLER2D
@@ -601,7 +601,7 @@ s for samplers
SAMPLERSTATE
SAMPLERCOMPARISONSTATE
u for unordered access views (UAV)
u - for unordered access views (UAV)
RWBYTEADDRESSBUFFER
RWSTRUCTUREDBUFFER
APPENDSTRUCTUREDBUFFER
@@ -613,7 +613,7 @@ u for unordered access views (UAV)
RWTEXTURE2DARRAY
RWTEXTURE3D
b for constant buffer views (CBV)
b - for constant buffer views (CBV)
CBUFFER
CONSTANTBUFFER
********************************************************************************/
+1 -1
View File
@@ -414,7 +414,7 @@ MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, U32 nbBits)
* Refill `bitD` from buffer previously set in BIT_initDStream() .
* This function is safe, it guarantees it will not read beyond src buffer.
* @return : status of `BIT_DStream_t` internal register.
* when status == BIT_DStream_unfinished, internal register is filled with at least 25 or 57 bits */
* when status == BIT_DStream_unfinished, internal register is filled with at least 25 or 57 bits */
MEM_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD)
{
if (bitD->bitsConsumed > (sizeof(bitD->bitContainer)*8)) /* overflow detected, like end of stream */