Revert "Removed HLSL cry compilers and tools"

This reverts commit f8a72e5a04.
This commit is contained in:
Aristo7
2021-04-20 12:53:46 -05:00
parent 8410452067
commit c07c57ca2a
155 changed files with 71159 additions and 0 deletions
@@ -0,0 +1,13 @@
// Modifications copyright Amazon.com, Inc. or its affiliates
// Modifications copyright Crytek GmbH
#ifndef AMAZON_CHANGES_H
#define AMAZON_CHANGES_H
// There is a bug on the Adreno 420 driver where reinterpret casts can destroy a variable. We need to replace all instances that look like this:
// floatBitsToInt(Temp2);
// We do not need to change cases that evaluate an expression within the cast operation, like so:
// floatBitsToInt(Temp2 + 1.0f);
void ModifyLineForQualcommReinterpretCastBug( HLSLCrossCompilerContext* psContext, bstring* originalString, bstring* overloadString );
#endif // AMAZON_CHANGES_H