forked from qt-creator/qt-creator
EffectMaker: Fix qsb tool version parameter
Change-Id: I4a1ceafba63d466d9cec555b332d6894b1016ba4 Reviewed-by: Amr Elsayed <amr.elsayed@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1200,7 +1200,7 @@ void EffectMakerModel::bakeShaders()
|
|||||||
const QStringList outPaths = {m_vertexShaderFilename, m_fragmentShaderFilename};
|
const QStringList outPaths = {m_vertexShaderFilename, m_fragmentShaderFilename};
|
||||||
for (int i = 0; i < 2; ++i) {
|
for (int i = 0; i < 2; ++i) {
|
||||||
const auto workDir = Utils::FilePath::fromString(outPaths[i]);
|
const auto workDir = Utils::FilePath::fromString(outPaths[i]);
|
||||||
QStringList args = {"-s", "--glsl", "\"300 es,120,150,440\"", "--hlsl", "50", "--msl", "12"};
|
QStringList args = {"-s", "--glsl", "300es,120,150,440", "--hlsl", "50", "--msl", "12"};
|
||||||
args << "-o" << outPaths[i] << srcPaths[i];
|
args << "-o" << outPaths[i] << srcPaths[i];
|
||||||
|
|
||||||
auto qsbProcess = new Utils::Process(this);
|
auto qsbProcess = new Utils::Process(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user