mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
Start creating stub hlsl_uniform_set_parameter
This commit is contained in:
parent
f418c7fde1
commit
7cd10fd707
@ -103,6 +103,45 @@ void hlsl_set_proj_matrix(void *data, XMMATRIX rotation_value)
|
|||||||
hlsl_data->prg[hlsl_data->active_idx].mvp_val = rotation_value;
|
hlsl_data->prg[hlsl_data->active_idx].mvp_val = rotation_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void hlsl_uniform_set_parameter(void *data, void *uniform_data)
|
||||||
|
{
|
||||||
|
struct uniform_info *param = (struct uniform_info*)data;
|
||||||
|
|
||||||
|
if (!param || !param->enabled)
|
||||||
|
return;
|
||||||
|
|
||||||
|
switch (param->type)
|
||||||
|
{
|
||||||
|
case UNIFORM_1F:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_2F:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_3F:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_4F:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_1FV:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_2FV:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_3FV:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_4FV:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
case UNIFORM_1I:
|
||||||
|
/* Unimplemented - Cg limitation */
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#define set_param_2f(param, xy, constanttable) \
|
#define set_param_2f(param, xy, constanttable) \
|
||||||
if (param) constanttable->SetFloatArray(d3d_device_ptr, param, xy, 2)
|
if (param) constanttable->SetFloatArray(d3d_device_ptr, param, xy, 2)
|
||||||
#define set_param_1f(param, x, constanttable) \
|
#define set_param_1f(param, x, constanttable) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user