Commit 6ef3324f authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Extract SM5 shader code from DXBC.

parent b9f1b0ff
...@@ -44,6 +44,7 @@ ...@@ -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 * ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment