aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-06-24 10:24:39 +0200
committerAndre Weissflog <floooh@gmail.com>2021-06-24 10:24:39 +0200
commitc1bf1a9448e98cb4f626aa5fe837278ac8b12be0 (patch)
tree19da2a56f969d2e7980ef8d5a20e70e8aa18b294
parent444bca192dcc284d4d9ea4eed7eff4dde4b44e70 (diff)
sokol_gfx.h d3d11: remove no longer required zero-array items from backend state
-rw-r--r--sokol_gfx.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 0c512c4d..047c5007 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -3597,14 +3597,6 @@ typedef struct {
HINSTANCE d3dcompiler_dll;
bool d3dcompiler_dll_load_failed;
pD3DCompile D3DCompile_func;
- /* the following arrays are used for unbinding resources, they will always contain zeroes */
- ID3D11RenderTargetView* zero_rtvs[SG_MAX_COLOR_ATTACHMENTS];
- ID3D11Buffer* zero_vbs[SG_MAX_SHADERSTAGE_BUFFERS];
- UINT zero_vb_offsets[SG_MAX_SHADERSTAGE_BUFFERS];
- UINT zero_vb_strides[SG_MAX_SHADERSTAGE_BUFFERS];
- ID3D11Buffer* zero_cbs[SG_MAX_SHADERSTAGE_UBS];
- ID3D11ShaderResourceView* zero_srvs[SG_MAX_SHADERSTAGE_IMAGES];
- ID3D11SamplerState* zero_smps[SG_MAX_SHADERSTAGE_IMAGES];
/* global subresourcedata array for texture updates */
D3D11_SUBRESOURCE_DATA subres_data[SG_MAX_MIPMAPS * SG_MAX_TEXTUREARRAY_LAYERS];
} _sg_d3d11_backend_t;