summaryrefslogtreecommitdiffstats
path: root/tools/render-test/render-d3d11.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-06 09:52:53 -0700
committerGitHub <noreply@github.com>2017-07-06 09:52:53 -0700
commit21a14cb4e0d578bc4f8a460016269a1199cac0da (patch)
tree88a04619ceaaa37b87199dd82334cc9d102c156d /tools/render-test/render-d3d11.cpp
parentf313df379dd9e0d4395f072ffb87016a6f20d5a1 (diff)
parentf145e09a6dcbcf326f782b3e6a76dbf291c792cf (diff)
Merge pull request #53 from tfoleyNV/cross-compilation
Initial work on cross-compilation
Diffstat (limited to 'tools/render-test/render-d3d11.cpp')
-rw-r--r--tools/render-test/render-d3d11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/render-test/render-d3d11.cpp b/tools/render-test/render-d3d11.cpp
index 19795d685..5b25714c0 100644
--- a/tools/render-test/render-d3d11.cpp
+++ b/tools/render-test/render-d3d11.cpp
@@ -889,10 +889,10 @@ public:
virtual ShaderProgram* compileProgram(ShaderCompileRequest const& request) override
{
- auto dxVertexShaderBlob = compileHLSLShader(request.source.path, request.source.text, request.vertexShader .name, request.vertexShader .profile);
+ auto dxVertexShaderBlob = compileHLSLShader(request.vertexShader.source.path, request.vertexShader.source.text, request.vertexShader .name, request.vertexShader .profile);
if(!dxVertexShaderBlob) return nullptr;
- auto dxFragmentShaderBlob = compileHLSLShader(request.source.path, request.source.text, request.fragmentShader .name, request.fragmentShader .profile);
+ auto dxFragmentShaderBlob = compileHLSLShader(request.fragmentShader.source.path, request.fragmentShader.source.text, request.fragmentShader .name, request.fragmentShader .profile);
if(!dxFragmentShaderBlob) return nullptr;
ID3D11VertexShader* dxVertexShader;