ReactOS 0.4.16-dev-338-g34e76ad
|
#include <stdarg.h>
#include <time.h>
#include "wine/debug.h"
#include "d3dcompiler_private.h"
#include "wpp_private.h"
Go to the source code of this file.
Classes | |
struct | mem_file_desc |
struct | loaded_include |
struct | define |
struct | target_info |
Macros | |
#define | COBJMACROS |
#define | D3DXERR_INVALIDDATA 0x88760b59 |
#define | BUFFER_INITIAL_CAPACITY 256 |
#define | INCLUDES_INITIAL_CAPACITY 4 |
Variables | |
static struct mem_file_desc | current_shader |
static ID3DInclude * | current_include |
static const char * | initial_filename |
static struct loaded_include * | includes |
static int | includes_capacity |
static int | includes_size |
static const char * | parent_include |
static char * | wpp_output |
static int | wpp_output_capacity |
static int | wpp_output_size |
static char * | wpp_messages |
static int | wpp_messages_capacity |
static int | wpp_messages_size |
static struct define * | cmdline_defines |
static CRITICAL_SECTION | wpp_mutex = { &wpp_mutex_debug, -1, 0, 0, 0, 0 } |
static CRITICAL_SECTION_DEBUG | wpp_mutex_debug |
static const struct target_info | targets_info [] |
#define BUFFER_INITIAL_CAPACITY 256 |
Definition at line 32 of file compiler.c.
#define COBJMACROS |
Definition at line 20 of file compiler.c.
#define D3DXERR_INVALIDDATA 0x88760b59 |
Definition at line 30 of file compiler.c.
#define INCLUDES_INITIAL_CAPACITY 4 |
Definition at line 45 of file compiler.c.
Definition at line 326 of file compiler.c.
Referenced by wpp_parse().
Definition at line 346 of file compiler.c.
Referenced by wpp_parse().
|
static |
Definition at line 553 of file compiler.c.
Referenced by D3DAssemble().
|
static |
Definition at line 754 of file compiler.c.
Referenced by D3DCompile2().
HRESULT WINAPI D3DAssemble | ( | const void * | data, |
SIZE_T | datasize, | ||
const char * | filename, | ||
const D3D_SHADER_MACRO * | defines, | ||
ID3DInclude * | include, | ||
UINT | flags, | ||
ID3DBlob ** | shader, | ||
ID3DBlob ** | error_messages | ||
) |
Definition at line 630 of file compiler.c.
Referenced by D3DXAssembleShader().
HRESULT WINAPI D3DCompile | ( | const void * | data, |
SIZE_T | data_size, | ||
const char * | filename, | ||
const D3D_SHADER_MACRO * | defines, | ||
ID3DInclude * | include, | ||
const char * | entrypoint, | ||
const char * | target, | ||
UINT | sflags, | ||
UINT | eflags, | ||
ID3DBlob ** | shader, | ||
ID3DBlob ** | error_messages | ||
) |
Definition at line 889 of file compiler.c.
Referenced by d3dx9_effect_init(), D3DXCompileShader(), and D3DXCompileShaderFromFileW().
HRESULT WINAPI D3DCompile2 | ( | const void * | data, |
SIZE_T | data_size, | ||
const char * | filename, | ||
const D3D_SHADER_MACRO * | defines, | ||
ID3DInclude * | include, | ||
const char * | entrypoint, | ||
const char * | target, | ||
UINT | sflags, | ||
UINT | eflags, | ||
UINT | secondary_flags, | ||
const void * | secondary_data, | ||
SIZE_T | secondary_data_size, | ||
ID3DBlob ** | shader, | ||
ID3DBlob ** | error_messages | ||
) |
Definition at line 857 of file compiler.c.
Referenced by D3DCompile().
HRESULT WINAPI D3DCompileFromFile | ( | const WCHAR * | filename, |
const D3D_SHADER_MACRO * | defines, | ||
ID3DInclude * | includes, | ||
const char * | entrypoint, | ||
const char * | target, | ||
UINT | flags1, | ||
UINT | flags2, | ||
ID3DBlob ** | code, | ||
ID3DBlob ** | errors | ||
) |
Definition at line 949 of file compiler.c.
Definition at line 959 of file compiler.c.
HRESULT WINAPI D3DPreprocess | ( | const void * | data, |
SIZE_T | size, | ||
const char * | filename, | ||
const D3D_SHADER_MACRO * | defines, | ||
ID3DInclude * | include, | ||
ID3DBlob ** | shader, | ||
ID3DBlob ** | error_messages | ||
) |
Definition at line 902 of file compiler.c.
Referenced by D3DXPreprocessShader(), and D3DXPreprocessShaderFromFileW().
|
static |
Definition at line 732 of file compiler.c.
Referenced by compile_shader().
Definition at line 135 of file compiler.c.
Referenced by pp_pop_if(), and wpp_parse().
Definition at line 149 of file compiler.c.
Referenced by pp_add_define(), pp_add_macro(), and pp_del_define().
|
static |
Definition at line 484 of file compiler.c.
Referenced by D3DAssemble(), D3DCompile2(), and D3DPreprocess().
Definition at line 126 of file compiler.c.
WINE_DEFAULT_DEBUG_CHANNEL | ( | d3dcompiler | ) |
Definition at line 377 of file compiler.c.
Referenced by add_widl_version_define(), main(), and preprocess_shader().
Definition at line 258 of file compiler.c.
Referenced by wpp_parse().
Definition at line 315 of file compiler.c.
Referenced by preprocess_shader().
Definition at line 420 of file compiler.c.
Referenced by preprocess_shader().
Definition at line 162 of file compiler.c.
Referenced by pp_open_include().
Definition at line 195 of file compiler.c.
Referenced by pp_open_include(), and wpp_parse().
Definition at line 437 of file compiler.c.
Referenced by main(), and preprocess_shader().
Definition at line 284 of file compiler.c.
|
static |
Definition at line 86 of file compiler.c.
Referenced by ppy_error(), ppy_warning(), and PRINTF_ATTR().
Definition at line 70 of file compiler.c.
Referenced by add_cmdline_defines(), del_cmdline_defines(), wpp_add_define(), and wpp_del_define().
|
static |
Definition at line 42 of file compiler.c.
Referenced by preprocess_shader(), wpp_close(), and wpp_open().
|
static |
Definition at line 41 of file compiler.c.
Referenced by preprocess_shader(), wpp_close(), and wpp_open().
|
static |
Definition at line 53 of file compiler.c.
Referenced by D3DCompileFromFile(), IncludesTest::incl0(), IncludesTest::incl1(), IncludesTest::incl2(), wpp_lookup(), and wpp_open().
|
static |
Definition at line 54 of file compiler.c.
Referenced by wpp_open().
|
static |
Definition at line 54 of file compiler.c.
Referenced by preprocess_shader(), wpp_lookup(), and wpp_open().
Definition at line 43 of file compiler.c.
Referenced by preprocess_shader(), wpp_lookup(), and wpp_open().
Definition at line 55 of file compiler.c.
Referenced by wpp_lookup(), and wpp_open().
|
static |
Definition at line 669 of file compiler.c.
Referenced by get_target_info().
|
static |
Definition at line 60 of file compiler.c.
Referenced by preprocess_shader(), and wpp_write_message().
|
static |
Definition at line 61 of file compiler.c.
Referenced by preprocess_shader(), and wpp_write_message().
|
static |
Definition at line 61 of file compiler.c.
Referenced by preprocess_shader(), and wpp_write_message().
|
static |
Definition at line 75 of file compiler.c.
Referenced by D3DAssemble(), D3DCompile2(), and D3DPreprocess().
|
static |
Definition at line 76 of file compiler.c.
|
static |
Definition at line 57 of file compiler.c.
Referenced by D3DAssemble(), D3DCompile2(), D3DPreprocess(), preprocess_shader(), wpp_close_output(), and wpp_write().
|
static |
Definition at line 58 of file compiler.c.
Referenced by preprocess_shader(), and wpp_write().
|
static |
Definition at line 58 of file compiler.c.
Referenced by D3DPreprocess(), preprocess_shader(), wpp_close_output(), and wpp_write().