diff options
| author | Justin Moore <DrChat@users.noreply.github.com> | 2018-09-06 19:26:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-06 19:26:06 -0500 |
| commit | 413a04eb1b014c8ab703bfb77cc557146add0021 (patch) | |
| tree | d7d8302f45127a319642a4b09807e65fded0ffb3 | |
| parent | de43afbb54d317bf4c88ff8ea444c50347a548f3 (diff) | |
| parent | 1a4fc3bde211b035368c77651099fa26c97336ed (diff) | |
Merge pull request #1211 from Triang3l/patch-1
[GPU] Add texture signedness enumeration
| -rw-r--r-- | src/xenia/gpu/xenos.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xenia/gpu/xenos.h b/src/xenia/gpu/xenos.h index 256626e65..dc62a0f6e 100644 --- a/src/xenia/gpu/xenos.h +++ b/src/xenia/gpu/xenos.h @@ -63,6 +63,17 @@ enum class ClampMode : uint32_t { kMirrorClampToBorder = 7, }; +// TEX_FORMAT_COMP, known as GPUSIGN on the Xbox 360. +enum class TextureSign : uint32_t { + kUnsigned = 0, + // Two's complement texture data. + kSigned = 1, + // 2*color-1 - http://xboxforums.create.msdn.com/forums/t/107374.aspx + kUnsignedBiased = 2, + // Linearized when sampled. + kGamma = 3, +}; + enum class TextureFilter : uint32_t { kPoint = 0, kLinear = 1, |
