diff --git a/gfx/common/d3d10_common.h b/gfx/common/d3d10_common.h index e2924bd5b6..818a019684 100644 --- a/gfx/common/d3d10_common.h +++ b/gfx/common/d3d10_common.h @@ -1117,9 +1117,6 @@ typedef struct ALIGN(16) float time; } d3d10_uniform_t; -static_assert( - (!(sizeof(d3d10_uniform_t) & 0xF)), "sizeof(d3d10_uniform_t) must be a multiple of 16"); - typedef struct d3d10_shader_t { D3D10VertexShader vs; diff --git a/gfx/common/d3d11_common.h b/gfx/common/d3d11_common.h index dc3394908f..0208b0c085 100644 --- a/gfx/common/d3d11_common.h +++ b/gfx/common/d3d11_common.h @@ -2484,9 +2484,6 @@ typedef struct ALIGN(16) float time; } d3d11_uniform_t; -static_assert( - (!(sizeof(d3d11_uniform_t) & 0xF)), "sizeof(d3d11_uniform_t) must be a multiple of 16"); - typedef struct d3d11_shader_t { D3D11VertexShader vs; diff --git a/gfx/common/d3d12_common.h b/gfx/common/d3d12_common.h index 01ccc2020b..c97ba73f35 100644 --- a/gfx/common/d3d12_common.h +++ b/gfx/common/d3d12_common.h @@ -1340,9 +1340,6 @@ typedef struct ALIGN(16) float time; } d3d12_uniform_t; -static_assert( - (!(sizeof(d3d12_uniform_t) & 0xF)), "sizeof(d3d12_uniform_t) must be a multiple of 16"); - typedef struct { unsigned cur_mon_id;