d3d10: Implement ID3D10EffectVariable::AsShaderResource().
This commit is contained in:
parent
2c3674d6ce
commit
fee2d53204
@ -2570,9 +2570,14 @@ static struct ID3D10EffectStringVariable * STDMETHODCALLTYPE d3d10_effect_variab
|
|||||||
static struct ID3D10EffectShaderResourceVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsShaderResource(
|
static struct ID3D10EffectShaderResourceVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsShaderResource(
|
||||||
ID3D10EffectVariable *iface)
|
ID3D10EffectVariable *iface)
|
||||||
{
|
{
|
||||||
FIXME("iface %p stub!\n", iface);
|
struct d3d10_effect_variable *This = (struct d3d10_effect_variable *)iface;
|
||||||
|
|
||||||
return NULL;
|
TRACE("iface %p\n", iface);
|
||||||
|
|
||||||
|
if (This->vtbl == (ID3D10EffectVariableVtbl *)&d3d10_effect_shader_resource_variable_vtbl)
|
||||||
|
return (ID3D10EffectShaderResourceVariable *)This;
|
||||||
|
|
||||||
|
return (ID3D10EffectShaderResourceVariable *)&null_shader_resource_variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct ID3D10EffectRenderTargetViewVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsRenderTargetView(
|
static struct ID3D10EffectRenderTargetViewVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsRenderTargetView(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user