Commit 4f2c93e2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Store shader variables in d3d10_effect_pass instead of d3d10_effect_object.

parent 2a83e1a5
......@@ -72,8 +72,6 @@ struct d3d10_effect_object
{
struct d3d10_effect_pass *pass;
enum d3d10_effect_object_type type;
DWORD index;
void *data;
union
{
ID3D10VertexShader *vs;
......@@ -168,6 +166,9 @@ struct d3d10_effect_pass
struct d3d10_effect_object *objects;
struct d3d10_effect_variable *annotations;
D3D10_PASS_SHADER_DESC vs;
D3D10_PASS_SHADER_DESC ps;
D3D10_PASS_SHADER_DESC gs;
UINT stencil_ref;
UINT sample_mask;
float blend_factor[4];
......
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