From 7cd9af179fb0c87fe2f6d6b17677145cc8b1ad83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 5 Apr 2015 11:55:04 -0700 Subject: [PATCH] Fixed file names. --- scripts/shaderc.lua | 3 ++- tools/shaderc/{shaderc_dx11.cpp => shaderc_d3d11.cpp} | 0 tools/shaderc/{shaderc_dx9.cpp => shaderc_d3d9.cpp} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename tools/shaderc/{shaderc_dx11.cpp => shaderc_d3d11.cpp} (100%) rename tools/shaderc/{shaderc_dx9.cpp => shaderc_d3d9.cpp} (100%) diff --git a/scripts/shaderc.lua b/scripts/shaderc.lua index d9b864c6..d671c9e6 100644 --- a/scripts/shaderc.lua +++ b/scripts/shaderc.lua @@ -33,7 +33,8 @@ project "shaderc" configuration { "mingw* or linux or osx" } buildoptions { - "-fno-strict-aliasing" -- glsl-optimizer has bugs if strict aliasing is used. + "-fno-strict-aliasing", -- glsl-optimizer has bugs if strict aliasing is used. + "-Wno-unused-parameter", } removebuildoptions { "-Wshadow", -- glsl-optimizer is full of -Wshadow warnings ignore it. diff --git a/tools/shaderc/shaderc_dx11.cpp b/tools/shaderc/shaderc_d3d11.cpp similarity index 100% rename from tools/shaderc/shaderc_dx11.cpp rename to tools/shaderc/shaderc_d3d11.cpp diff --git a/tools/shaderc/shaderc_dx9.cpp b/tools/shaderc/shaderc_d3d9.cpp similarity index 100% rename from tools/shaderc/shaderc_dx9.cpp rename to tools/shaderc/shaderc_d3d9.cpp