Commit 5576734a by Corentin Wallez

Remove DynamicHLSL_unittest.cpp

For some reason it cause compile errors with clang on Windows, potentially with a wrong include order. BUG=None Change-Id: I11e9ab4dcc9f601b7d61616c7f61786bec29df91 Reviewed-on: https://chromium-review.googlesource.com/311151Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 0d3537c2
//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// DynamicHLSL unittests:
// Tests for DynamicHLSL and related classes.
//
#include <gtest/gtest.h>
#include "libANGLE/renderer/d3d/DynamicHLSL.h"
using namespace rx;
namespace
{
TEST(PackedVarying, DefaultInitialization)
{
sh::Varying defaultVarying;
PackedVarying pv(defaultVarying);
EXPECT_EQ(&defaultVarying, pv.varying);
EXPECT_EQ(GL_INVALID_INDEX, pv.registerIndex);
EXPECT_EQ(0, pv.columnIndex);
EXPECT_FALSE(pv.vertexOnly);
}
} // anonymous namespace
...@@ -83,7 +83,6 @@ ...@@ -83,7 +83,6 @@
# TODO(jmadill): should probably call this windows sources # TODO(jmadill): should probably call this windows sources
'angle_unittests_hlsl_sources': 'angle_unittests_hlsl_sources':
[ [
'<(angle_path)/src/libANGLE/renderer/d3d/DynamicHLSL_unittest.cpp',
'<(angle_path)/src/tests/compiler_tests/UnrollFlatten_test.cpp', '<(angle_path)/src/tests/compiler_tests/UnrollFlatten_test.cpp',
], ],
}, },
......
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