Eliminate the D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag.

TRAC #22426 Signed-off-by: Jamie Madill Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1753 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 41ba5e0f
// //
// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// //
...@@ -78,7 +78,7 @@ ID3DBlob *Renderer::compileToBinary(gl::InfoLog &infoLog, const char *hlsl, cons ...@@ -78,7 +78,7 @@ ID3DBlob *Renderer::compileToBinary(gl::InfoLog &infoLog, const char *hlsl, cons
} }
HRESULT result = S_OK; HRESULT result = S_OK;
UINT flags = D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY; // Enables using legacy sampler syntax for Shader Model 4+ UINT flags = 0;
std::string sourceText; std::string sourceText;
if (gl::perfActive()) if (gl::perfActive())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment