d3dcompiler/tests: Avoid using the LPD3DBLOB COM iface type.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1956eefa0f
commit
bebaec60b6
|
@ -51,7 +51,7 @@ static void exec_tests(const char *name, struct shader_test tests[], unsigned in
|
||||||
DWORD *res;
|
DWORD *res;
|
||||||
unsigned int i, j;
|
unsigned int i, j;
|
||||||
BOOL diff;
|
BOOL diff;
|
||||||
LPD3DBLOB shader, messages;
|
ID3DBlob *shader, *messages;
|
||||||
|
|
||||||
for(i = 0; i < count; i++) {
|
for(i = 0; i < count; i++) {
|
||||||
/* D3DAssemble sets messages to 0 if there aren't error messages */
|
/* D3DAssemble sets messages to 0 if there aren't error messages */
|
||||||
|
@ -1406,7 +1406,7 @@ static void failure_test(void) {
|
||||||
};
|
};
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
LPD3DBLOB shader, messages;
|
ID3DBlob *shader, *messages;
|
||||||
|
|
||||||
for(i = 0; i < (sizeof(tests) / sizeof(tests[0])); i++) {
|
for(i = 0; i < (sizeof(tests) / sizeof(tests[0])); i++) {
|
||||||
shader = NULL;
|
shader = NULL;
|
||||||
|
@ -1533,7 +1533,7 @@ static void assembleshader_test(void) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
LPD3DBLOB shader, messages;
|
ID3DBlob *shader, *messages;
|
||||||
struct D3DIncludeImpl include;
|
struct D3DIncludeImpl include;
|
||||||
|
|
||||||
/* defines test */
|
/* defines test */
|
||||||
|
|
Loading…
Reference in New Issue