summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2011-12-11 11:08:18 +0100
committerPierre Bourdon <delroth@gmail.com>2011-12-11 11:08:18 +0100
commit014c474024e28e77d2bb72e0af7acb31850fba64 (patch)
tree0113e31a4c88918001d6fc33bec21094c776de96 /Source/Core/VideoCommon/Src/TextureConversionShader.cpp
parent1724385c8c52769c350d626b9b35b3bfd788522a (diff)
8 spaces indentation -> tabs
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureConversionShader.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureConversionShader.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureConversionShader.cpp b/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
index 262b2cee87..2f21c816b7 100644
--- a/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
+++ b/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
@@ -68,11 +68,11 @@ u16 GetEncodedSampleCount(u32 format)
}
const char* WriteRegister(API_TYPE ApiType, const char *prefix, const u32 num)
{
- if(ApiType == API_GLSL)
- return ""; // Once we switch to GLSL 1.3 we can do something here
- static char result[64];
- sprintf(result, " : register(%s%d)", prefix, num);
- return result;
+ if(ApiType == API_GLSL)
+ return ""; // Once we switch to GLSL 1.3 we can do something here
+ static char result[64];
+ sprintf(result, " : register(%s%d)", prefix, num);
+ return result;
}
const char *WriteLocation(API_TYPE ApiType)
{
@@ -821,13 +821,13 @@ void WriteZ24Encoder(char* p, API_TYPE ApiType)
for (int i = 0; i < 2; i++)
{
- WRITE(p, " depth%i *= 16777215.0f;\n", i);
+ WRITE(p, " depth%i *= 16777215.0f;\n", i);
- WRITE(p, " expanded%i.r = floor(depth%i / (256 * 256));\n", i, i);
- WRITE(p, " depth%i -= expanded%i.r * 256 * 256;\n", i, i);
- WRITE(p, " expanded%i.g = floor(depth%i / 256);\n", i, i);
- WRITE(p, " depth%i -= expanded%i.g * 256;\n", i, i);
- WRITE(p, " expanded%i.b = depth%i;\n", i, i);
+ WRITE(p, " expanded%i.r = floor(depth%i / (256 * 256));\n", i, i);
+ WRITE(p, " depth%i -= expanded%i.r * 256 * 256;\n", i, i);
+ WRITE(p, " expanded%i.g = floor(depth%i / 256);\n", i, i);
+ WRITE(p, " depth%i -= expanded%i.g * 256;\n", i, i);
+ WRITE(p, " expanded%i.b = depth%i;\n", i, i);
}
WRITE(p, " if(cl > 0.5f) {\n");