• Home
  • Raw
  • Download

Lines Matching refs:desc

33         D3D10_TEXTURE2D_DESC desc;  in SubTestMiscMultipleCreates()  local
34 memset(&desc, 0, sizeof(desc) ); in SubTestMiscMultipleCreates()
35 desc.Width = 256; in SubTestMiscMultipleCreates()
36 desc.Height = 256; in SubTestMiscMultipleCreates()
37 desc.MipLevels = 4; in SubTestMiscMultipleCreates()
38 desc.ArraySize = 4; in SubTestMiscMultipleCreates()
39 desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in SubTestMiscMultipleCreates()
40 desc.SampleDesc.Count = 1; in SubTestMiscMultipleCreates()
41 desc.SampleDesc.Quality = 0; in SubTestMiscMultipleCreates()
42 desc.Usage = D3D10_USAGE_DEFAULT; in SubTestMiscMultipleCreates()
43 desc.BindFlags = D3D10_BIND_SHADER_RESOURCE | D3D10_BIND_RENDER_TARGET; in SubTestMiscMultipleCreates()
44 desc.CPUAccessFlags = 0; in SubTestMiscMultipleCreates()
45 desc.MiscFlags = 0; in SubTestMiscMultipleCreates()
47 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscMultipleCreates()
53 D3D10_BUFFER_DESC desc = {0}; in SubTestMiscMultipleCreates() local
54 desc.ByteWidth = 1024; in SubTestMiscMultipleCreates()
55 desc.Usage = D3D10_USAGE_DEFAULT; in SubTestMiscMultipleCreates()
56 desc.CPUAccessFlags = 0; in SubTestMiscMultipleCreates()
57 desc.BindFlags = D3D10_BIND_VERTEX_BUFFER; in SubTestMiscMultipleCreates()
58 desc.MiscFlags = 0; in SubTestMiscMultipleCreates()
59 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscMultipleCreates()
139 D3D10_TEXTURE2D_DESC desc; in SubTestMiscAcquireRelease() local
140 memset(&desc, 0, sizeof(desc) ); in SubTestMiscAcquireRelease()
141 desc.Width = 256; in SubTestMiscAcquireRelease()
142 desc.Height = 256; in SubTestMiscAcquireRelease()
143 desc.MipLevels = 4; in SubTestMiscAcquireRelease()
144 desc.ArraySize = 4; in SubTestMiscAcquireRelease()
145 desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in SubTestMiscAcquireRelease()
146 desc.SampleDesc.Count = 1; in SubTestMiscAcquireRelease()
147 desc.SampleDesc.Quality = 0; in SubTestMiscAcquireRelease()
148 desc.Usage = D3D10_USAGE_DEFAULT; in SubTestMiscAcquireRelease()
149 desc.BindFlags = D3D10_BIND_SHADER_RESOURCE | D3D10_BIND_RENDER_TARGET; in SubTestMiscAcquireRelease()
150 desc.CPUAccessFlags = 0; in SubTestMiscAcquireRelease()
151 desc.MiscFlags = 0; in SubTestMiscAcquireRelease()
153 hr = pDevice->CreateTexture2D(&desc, NULL, &pTexture); in SubTestMiscAcquireRelease()
159 D3D10_BUFFER_DESC desc = {0}; in SubTestMiscAcquireRelease() local
160 desc.ByteWidth = 1024; in SubTestMiscAcquireRelease()
161 desc.Usage = D3D10_USAGE_DEFAULT; in SubTestMiscAcquireRelease()
162 desc.CPUAccessFlags = 0; in SubTestMiscAcquireRelease()
163 desc.BindFlags = D3D10_BIND_VERTEX_BUFFER; in SubTestMiscAcquireRelease()
164 desc.MiscFlags = 0; in SubTestMiscAcquireRelease()
165 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestMiscAcquireRelease()