mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
Updated compute shader image formats.
This commit is contained in:
parent
143628442c
commit
ccb0f73308
1 changed files with 5 additions and 4 deletions
|
@ -47,6 +47,7 @@ vec2 unpackHalf2x16(uint _x)
|
||||||
#define r32ui uint
|
#define r32ui uint
|
||||||
#define r32f float
|
#define r32f float
|
||||||
#define rg16f float2
|
#define rg16f float2
|
||||||
|
#define rgba16f float4
|
||||||
#define rgba8 float4
|
#define rgba8 float4
|
||||||
|
|
||||||
#define IMAGE2D_RO( _name, _format, _reg) Texture2D<_format> _name : register(t[_reg])
|
#define IMAGE2D_RO( _name, _format, _reg) Texture2D<_format> _name : register(t[_reg])
|
||||||
|
|
Loading…
Reference in a new issue