forked from qt-creator/qt-creator
EffectMaker: Update QSB tool parameters
With updated parameters, same shader versions will be generated as with the standalone effect maker tool. Task-number: QDS-11194 Change-Id: Id7c0b36e7526a8e285d02b9102a65aac954b3d98 Reviewed-by: Amr Elsayed <amr.elsayed@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1200,7 +1200,8 @@ void EffectMakerModel::bakeShaders()
|
||||
const QStringList outPaths = {m_vertexShaderFilename, m_fragmentShaderFilename};
|
||||
for (int i = 0; i < 2; ++i) {
|
||||
const auto workDir = Utils::FilePath::fromString(outPaths[i]);
|
||||
QStringList args = {"-s", "--glsl", "300es,120,150,440", "--hlsl", "50", "--msl", "12"};
|
||||
// TODO: Optional legacy glsl support like standalone effect maker needs to add "100es,120"
|
||||
QStringList args = {"-s", "--glsl", "300es,140,330,410", "--hlsl", "50", "--msl", "12"};
|
||||
args << "-o" << outPaths[i] << srcPaths[i];
|
||||
|
||||
auto qsbProcess = new Utils::Process(this);
|
||||
|
||||
Reference in New Issue
Block a user