Lines Matching refs:desc
35 D3D11_TEXTURE2D_DESC desc; in SubTestMiscMultipleCreates() local
36 memset(&desc, 0, sizeof(desc) ); in SubTestMiscMultipleCreates()
37 desc.Width = 256; in SubTestMiscMultipleCreates()
38 desc.Height = 256; in SubTestMiscMultipleCreates()
39 desc.MipLevels = 4; in SubTestMiscMultipleCreates()
40 desc.ArraySize = 4; in SubTestMiscMultipleCreates()
41 desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in SubTestMiscMultipleCreates()
42 desc.SampleDesc.Count = 1; in SubTestMiscMultipleCreates()
43 desc.SampleDesc.Quality = 0; in SubTestMiscMultipleCreates()
44 desc.Usage = D3D11_USAGE_DEFAULT; in SubTestMiscMultipleCreates()
45 desc.BindFlags = D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET; in SubTestMiscMultipleCreates()
46 desc.CPUAccessFlags = 0; in SubTestMiscMultipleCreates()
47 desc.MiscFlags = 0; in SubTestMiscMultipleCreates()
49 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscMultipleCreates()
55 D3D11_BUFFER_DESC desc = {0}; in SubTestMiscMultipleCreates() local
56 desc.ByteWidth = 1124; in SubTestMiscMultipleCreates()
57 desc.Usage = D3D11_USAGE_DEFAULT; in SubTestMiscMultipleCreates()
58 desc.CPUAccessFlags = 0; in SubTestMiscMultipleCreates()
59 desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in SubTestMiscMultipleCreates()
60 desc.MiscFlags = 0; in SubTestMiscMultipleCreates()
61 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscMultipleCreates()
142 D3D11_TEXTURE2D_DESC desc; in SubTestMiscAcquireRelease() local
143 memset(&desc, 0, sizeof(desc) ); in SubTestMiscAcquireRelease()
144 desc.Width = 256; in SubTestMiscAcquireRelease()
145 desc.Height = 256; in SubTestMiscAcquireRelease()
146 desc.MipLevels = 4; in SubTestMiscAcquireRelease()
147 desc.ArraySize = 4; in SubTestMiscAcquireRelease()
148 desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in SubTestMiscAcquireRelease()
149 desc.SampleDesc.Count = 1; in SubTestMiscAcquireRelease()
150 desc.SampleDesc.Quality = 0; in SubTestMiscAcquireRelease()
151 desc.Usage = D3D11_USAGE_DEFAULT; in SubTestMiscAcquireRelease()
152 desc.BindFlags = D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET; in SubTestMiscAcquireRelease()
153 desc.CPUAccessFlags = 0; in SubTestMiscAcquireRelease()
154 desc.MiscFlags = 0; in SubTestMiscAcquireRelease()
156 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscAcquireRelease()
162 D3D11_BUFFER_DESC desc = {0}; in SubTestMiscAcquireRelease() local
163 desc.ByteWidth = 1124; in SubTestMiscAcquireRelease()
164 desc.Usage = D3D11_USAGE_DEFAULT; in SubTestMiscAcquireRelease()
165 desc.CPUAccessFlags = 0; in SubTestMiscAcquireRelease()
166 desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in SubTestMiscAcquireRelease()
167 desc.MiscFlags = 0; in SubTestMiscAcquireRelease()
168 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscAcquireRelease()