mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Get rid of HlslLegalization
This commit is contained in:
parent
5cb8d34ac8
commit
2b84be1210
@ -512,10 +512,8 @@ public:
|
|||||||
|
|
||||||
void addProcessArgument(const std::string& arg) { processes.addArgument(arg.c_str()); }
|
void addProcessArgument(const std::string& arg) { processes.addArgument(arg.c_str()); }
|
||||||
void setNeedsLegalization() { needToLegalize = true; }
|
void setNeedsLegalization() { needToLegalize = true; }
|
||||||
bool needsLegalization() const { return needToLegalize; }
|
|
||||||
|
|
||||||
void setBinaryDoubleOutput() { binaryDoubleOutput = true; }
|
void setBinaryDoubleOutput() { binaryDoubleOutput = true; }
|
||||||
bool getBinaryDoubleOutput() { return binaryDoubleOutput; }
|
|
||||||
|
|
||||||
const char* const implicitThisName;
|
const char* const implicitThisName;
|
||||||
const char* const implicitCounterName;
|
const char* const implicitCounterName;
|
||||||
|
@ -9983,11 +9983,6 @@ void HlslParseContext::finish()
|
|||||||
fixTextureShadowModes();
|
fixTextureShadowModes();
|
||||||
finalizeAppendMethods();
|
finalizeAppendMethods();
|
||||||
|
|
||||||
// Communicate out (esp. for command line) that we formed AST that will make
|
|
||||||
// illegal AST SPIR-V and it needs transforms to legalize it.
|
|
||||||
if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
|
|
||||||
infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
|
|
||||||
|
|
||||||
TParseContextBase::finish();
|
TParseContextBase::finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user