diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-23 18:03:34 +0200 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-24 09:15:49 +0200 |
commit | 4babdc78448f92b8d027a66cd506351a16aef4ec (patch) | |
tree | 946f9756e1e4b902e16716758361aaa8ef1d5172 /src/gallium/state_trackers/d3d1x/d3d1xstutil/include | |
parent | f71f8c7d18a1a92681c337cb6dbf507ab06b62b1 (diff) |
d3d1x: add untested support for geometry shader translation
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/d3d1xstutil/include')
-rw-r--r-- | src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h index 313aa10a37..2b613b82d1 100644 --- a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h +++ b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h @@ -62,6 +62,12 @@ extern "C" #undef max #endif +#define D3D_PRIMITIVE_TOPOLOGY_COUNT 65 +extern unsigned d3d_to_pipe_prim[D3D_PRIMITIVE_TOPOLOGY_COUNT]; + +#define D3D_PRIMITIVE_COUNT 40 +extern unsigned d3d_to_pipe_prim_type[D3D_PRIMITIVE_COUNT]; + /* NOTE: this _depends_ on the vtable layout of the C++ compiler to be * binary compatible with Windows. * Furthermore some absurd vtable layout likely won't work at all, since |