summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/texture-types-tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/texture-types-tests.cpp')
-rw-r--r--tools/gfx-unit-test/texture-types-tests.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/gfx-unit-test/texture-types-tests.cpp b/tools/gfx-unit-test/texture-types-tests.cpp
index 94f7a764f..4d8037ce8 100644
--- a/tools/gfx-unit-test/texture-types-tests.cpp
+++ b/tools/gfx-unit-test/texture-types-tests.cpp
@@ -234,11 +234,11 @@ namespace gfx_test
void validateTextureValues(ValidationTextureData actual, ValidationTextureData original)
{
// TODO: needs to be extended to cover mip levels and array layers
- for (Int x = 0; x < actual.extents.width; ++x)
+ for (GfxIndex x = 0; x < actual.extents.width; ++x)
{
- for (Int y = 0; y < actual.extents.height; ++y)
+ for (GfxIndex y = 0; y < actual.extents.height; ++y)
{
- for (Int z = 0; z < actual.extents.depth; ++z)
+ for (GfxIndex z = 0; z < actual.extents.depth; ++z)
{
auto actualBlock = (uint8_t*)actual.getBlockAt(x, y, z);
for (Int i = 0; i < 4; ++i)
@@ -536,11 +536,11 @@ namespace gfx_test
// TODO: Needs to handle either the correct slice or array layer (will not always check z)
void validateTextureValues(ValidationTextureData actual)
{
- for (Int x = 0; x < actual.extents.width; ++x)
+ for (GfxIndex x = 0; x < actual.extents.width; ++x)
{
- for (Int y = 0; y < actual.extents.height; ++y)
+ for (GfxIndex y = 0; y < actual.extents.height; ++y)
{
- for (Int z = 0; z < actual.extents.depth; ++z)
+ for (GfxIndex z = 0; z < actual.extents.depth; ++z)
{
auto actualBlock = (float*)actual.getBlockAt(x, y, z);
for (Int i = 0; i < 4; ++i)