OSDN Git Service

Clarify the need for project and bias shader instruction flags.
authorNicolas Capens <capn@google.com>
Thu, 4 Aug 2016 15:03:40 +0000 (11:03 -0400)
committerNicolas Capens <capn@google.com>
Thu, 4 Aug 2016 17:43:06 +0000 (17:43 +0000)
Change-Id: I6efbb5b138d7fe1611c235c5062823a6386f9180
Reviewed-on: https://swiftshader-review.googlesource.com/5880
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
src/Shader/Shader.hpp

index ae8b90f..404452d 100644 (file)
@@ -508,8 +508,8 @@ namespace sw
 
                                struct
                                {
-                                       unsigned char project : 1;
-                                       unsigned char bias : 1;
+                                       unsigned char project : 1;   // D3DSI_TEXLD_PROJECT
+                                       unsigned char bias : 1;      // D3DSI_TEXLD_BIAS
                                };
                        };