d3d11: Extract SM5 shader code from DXBC.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b9f1b0fff8
commit
6ef3324fd8
|
@ -44,6 +44,7 @@
|
||||||
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
|
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
|
||||||
#define TAG_OSGN MAKE_TAG('O', 'S', 'G', 'N')
|
#define TAG_OSGN MAKE_TAG('O', 'S', 'G', 'N')
|
||||||
#define TAG_SHDR MAKE_TAG('S', 'H', 'D', 'R')
|
#define TAG_SHDR MAKE_TAG('S', 'H', 'D', 'R')
|
||||||
|
#define TAG_SHEX MAKE_TAG('S', 'H', 'E', 'X')
|
||||||
|
|
||||||
struct d3d_device;
|
struct d3d_device;
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,8 @@ static HRESULT shdr_handler(const char *data, DWORD data_size, DWORD tag, void *
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TAG_SHDR:
|
case TAG_SHDR:
|
||||||
|
case TAG_SHEX:
|
||||||
|
if (shader_info->shader_code) FIXME("Multiple SHDR/SHEX chunks.\n");
|
||||||
shader_info->shader_code = (const DWORD *)data;
|
shader_info->shader_code = (const DWORD *)data;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue