mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 01:33:37 +00:00
d3dcompiler_42: Share source with d3dcompiler_43.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
36dcae193d
commit
b52cd87a4c
|
@ -1,6 +1,24 @@
|
|||
MODULE = d3dcompiler_42.dll
|
||||
IMPORTS = dxguid uuid
|
||||
EXTRALIBS = -lwpp
|
||||
EXTRADEFS = -DD3D_COMPILER_VERSION=42
|
||||
PARENTSRC = ../d3dcompiler_43
|
||||
|
||||
C_SRCS = \
|
||||
d3dcompiler_42_main.c
|
||||
asmparser.c \
|
||||
blob.c \
|
||||
bytecodewriter.c \
|
||||
compiler.c \
|
||||
main.c \
|
||||
reflection.c \
|
||||
utils.c
|
||||
|
||||
LEX_SRCS = \
|
||||
asmshader.l \
|
||||
hlsl.l
|
||||
|
||||
BISON_SRCS = \
|
||||
asmshader.y \
|
||||
hlsl.y
|
||||
|
||||
RC_SRCS = version.rc
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr) d3dcompiler_43.D3DAssemble
|
||||
@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr)
|
||||
@ stub DebugSetMute
|
||||
@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr) d3dcompiler_43.D3DCompile
|
||||
@ stdcall D3DDisassemble10Effect(ptr long ptr) d3dcompiler_43.D3DDisassemble10Effect
|
||||
@ stdcall D3DDisassemble(ptr long long ptr ptr) d3dcompiler_43.D3DDisassemble
|
||||
@ stdcall D3DGetDebugInfo(ptr long ptr) d3dcompiler_43.D3DGetDebugInfo
|
||||
@ stdcall D3DGetInputAndOutputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputAndOutputSignatureBlob
|
||||
@ stdcall D3DGetInputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputSignatureBlob
|
||||
@ stdcall D3DGetOutputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetOutputSignatureBlob
|
||||
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr) d3dcompiler_43.D3DPreprocess
|
||||
@ stdcall D3DReflect(ptr long ptr ptr) d3dcompiler_43.D3DReflect
|
||||
@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr)
|
||||
@ stub D3DDisassemble10Effect(ptr long ptr)
|
||||
@ stdcall D3DDisassemble(ptr long long ptr ptr)
|
||||
@ stdcall D3DGetDebugInfo(ptr long ptr)
|
||||
@ stdcall D3DGetInputAndOutputSignatureBlob(ptr long ptr)
|
||||
@ stdcall D3DGetInputSignatureBlob(ptr long ptr)
|
||||
@ stdcall D3DGetOutputSignatureBlob(ptr long ptr)
|
||||
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
|
||||
@ stdcall D3DReflect(ptr long ptr ptr)
|
||||
@ stub D3DReturnFailure1
|
||||
@ stdcall D3DStripShader(ptr long long ptr) d3dcompiler_43.D3DStripShader
|
||||
@ stdcall D3DStripShader(ptr long long ptr)
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
* Direct3D shader compiler main file
|
||||
*
|
||||
* Copyright 2010 Matteo Bruni for CodeWeavers
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(hinstDLL);
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
|
@ -111,7 +111,6 @@ my @dll_groups =
|
|||
"d3dcompiler_43",
|
||||
"d3dcompiler_47",
|
||||
"d3dcompiler_46",
|
||||
"d3dcompiler_42",
|
||||
"d3dcompiler_41",
|
||||
"d3dcompiler_40",
|
||||
"d3dcompiler_39",
|
||||
|
|
Loading…
Reference in a new issue