|
|
@@ -476,13 +476,16 @@ struct gs_texture : gs_obj {
|
|
|
|
|
|
inline gs_texture(gs_texture_type type, uint32_t levels,
|
|
|
gs_color_format format)
|
|
|
- : type(type), levels(levels), format(format)
|
|
|
+ : type(type),
|
|
|
+ levels(levels),
|
|
|
+ format(format)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
inline gs_texture(gs_device *device, gs_type obj_type,
|
|
|
gs_texture_type type)
|
|
|
- : gs_obj(device, obj_type), type(type)
|
|
|
+ : gs_obj(device, obj_type),
|
|
|
+ type(type)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
@@ -632,7 +635,9 @@ struct gs_zstencil_buffer : gs_obj {
|
|
|
}
|
|
|
|
|
|
inline gs_zstencil_buffer()
|
|
|
- : width(0), height(0), dxgiFormat(DXGI_FORMAT_UNKNOWN)
|
|
|
+ : width(0),
|
|
|
+ height(0),
|
|
|
+ dxgiFormat(DXGI_FORMAT_UNKNOWN)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
@@ -693,7 +698,8 @@ struct ShaderError {
|
|
|
HRESULT hr;
|
|
|
|
|
|
inline ShaderError(const ComPtr<ID3D10Blob> &errors, HRESULT hr)
|
|
|
- : errors(errors), hr(hr)
|
|
|
+ : errors(errors),
|
|
|
+ hr(hr)
|
|
|
{
|
|
|
}
|
|
|
};
|
|
|
@@ -717,7 +723,9 @@ struct gs_shader : gs_obj {
|
|
|
|
|
|
inline gs_shader(gs_device_t *device, gs_type obj_type,
|
|
|
gs_shader_type type)
|
|
|
- : gs_obj(device, obj_type), type(type), constantSize(0)
|
|
|
+ : gs_obj(device, obj_type),
|
|
|
+ type(type),
|
|
|
+ constantSize(0)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
@@ -730,7 +738,8 @@ struct ShaderSampler {
|
|
|
|
|
|
inline ShaderSampler(const char *name, gs_device_t *device,
|
|
|
gs_sampler_info *info)
|
|
|
- : name(name), sampler(device, info)
|
|
|
+ : name(name),
|
|
|
+ sampler(device, info)
|
|
|
{
|
|
|
}
|
|
|
};
|
|
|
@@ -894,7 +903,8 @@ struct SavedBlendState : BlendState {
|
|
|
inline void Release() { state.Release(); }
|
|
|
|
|
|
inline SavedBlendState(const BlendState &val, D3D11_BLEND_DESC &desc)
|
|
|
- : BlendState(val), bd(desc)
|
|
|
+ : BlendState(val),
|
|
|
+ bd(desc)
|
|
|
{
|
|
|
}
|
|
|
};
|
|
|
@@ -906,7 +916,10 @@ struct StencilSide {
|
|
|
gs_stencil_op_type zpass;
|
|
|
|
|
|
inline StencilSide()
|
|
|
- : test(GS_ALWAYS), fail(GS_KEEP), zfail(GS_KEEP), zpass(GS_KEEP)
|
|
|
+ : test(GS_ALWAYS),
|
|
|
+ fail(GS_KEEP),
|
|
|
+ zfail(GS_KEEP),
|
|
|
+ zpass(GS_KEEP)
|
|
|
{
|
|
|
}
|
|
|
};
|
|
|
@@ -946,7 +959,8 @@ struct SavedZStencilState : ZStencilState {
|
|
|
|
|
|
inline SavedZStencilState(const ZStencilState &val,
|
|
|
D3D11_DEPTH_STENCIL_DESC desc)
|
|
|
- : ZStencilState(val), dsd(desc)
|
|
|
+ : ZStencilState(val),
|
|
|
+ dsd(desc)
|
|
|
{
|
|
|
}
|
|
|
};
|
|
|
@@ -973,7 +987,8 @@ struct SavedRasterState : RasterState {
|
|
|
|
|
|
inline SavedRasterState(const RasterState &val,
|
|
|
D3D11_RASTERIZER_DESC &desc)
|
|
|
- : RasterState(val), rd(desc)
|
|
|
+ : RasterState(val),
|
|
|
+ rd(desc)
|
|
|
{
|
|
|
}
|
|
|
};
|