Rename color output semantic.
Change-Id: Iaa6cf9367f291a4bc3bde899484ca323ff54a0d4
Reviewed-on: https://swiftshader-review.googlesource.com/5381
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/Renderer/SetupProcessor.cpp b/src/Renderer/SetupProcessor.cpp
index 1bedf79..08e52c9 100644
--- a/src/Renderer/SetupProcessor.cpp
+++ b/src/Renderer/SetupProcessor.cpp
@@ -173,7 +173,7 @@
state.gradient[interpolant][component].flat = point && !sprite;
break;
case Shader::USAGE_COLOR:
- state.gradient[interpolant][component].attribute = D0 + index;
+ state.gradient[interpolant][component].attribute = C0 + index;
state.gradient[interpolant][component].flat = flatShading;
break;
default:
@@ -203,7 +203,7 @@
{
if(context->colorActive(color, component))
{
- state.color[color][component].attribute = D0 + color;
+ state.color[color][component].attribute = C0 + color;
state.color[color][component].flat = flatShading;
}
}