From ccb0f733082838245d12699a994b84e85de4f950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 21 Apr 2015 11:49:28 -0700 Subject: [PATCH] Updated compute shader image formats. --- src/bgfx_compute.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/bgfx_compute.sh b/src/bgfx_compute.sh index fd38626c0..bd3aaa315 100644 --- a/src/bgfx_compute.sh +++ b/src/bgfx_compute.sh @@ -44,10 +44,11 @@ vec2 unpackHalf2x16(uint _x) #define SHARED groupshared -#define r32ui uint -#define r32f float -#define rg16f float2 -#define rgba8 float4 +#define r32ui uint +#define r32f float +#define rg16f float2 +#define rgba16f float4 +#define rgba8 float4 #define IMAGE2D_RO( _name, _format, _reg) Texture2D<_format> _name : register(t[_reg]) #define UIMAGE2D_RO(_name, _format, _reg) Texture2D<_format> _name : register(t[_reg])