From 15ed0ea9cf1588fc076b89374ead8ab610c093bb Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 7 Oct 2013 19:04:03 +0200 Subject: [PATCH] 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 :-) --- Source/Core/VideoCommon/Src/ConstantManager.h | 6 +----- 1 file changed, 1 insertion(+), 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 {