diff options
| author | degasus <wickmarkus@web.de> | 2013-10-07 19:04:03 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-10-12 20:29:56 +0200 |
| commit | 15ed0ea9cf1588fc076b89374ead8ab610c093bb (patch) | |
| tree | 2a5f8ef650c454b884319af30c6f7f0f2acba86d /Source/Core/VideoCommon | |
| parent | 6e2fe72b8fe0bfd13171b43bcbff40b20d15737e (diff) | |
videoCommon: remove not supported constant types
I'm pretty sure GPUs can read u8 values, but this isn't exported by the API.
But hey, see unpackSnorm4x8 :-)
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/ConstantManager.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/Src/ConstantManager.h b/Source/Core/VideoCommon/Src/ConstantManager.h index f86d12e2db..bd28ea8731 100644 --- a/Source/Core/VideoCommon/Src/ConstantManager.h +++ b/Source/Core/VideoCommon/Src/ConstantManager.h @@ -7,12 +7,8 @@ // all constant buffer attributes must be 16 bytes aligned, so this are the only allowed components: typedef float float4[4]; -typedef u8 uchar16[16]; -typedef s8 schar16[16]; -typedef u16 ushort8[8]; -typedef s16 sshort8[8]; typedef u32 uint4[4]; -typedef s32 sint4[4]; +typedef s32 int4[4]; struct PixelShaderConstants { |
