mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 09:23:01 +00:00
(360) Get rid of constant table - seem to be getting nowhere with
this
This commit is contained in:
parent
c5d8e1a75c
commit
e30966bfd0
@ -271,7 +271,7 @@ static void *xdk360_gfx_init(const video_info_t *video, const input_driver_t **i
|
||||
0, // flags
|
||||
&pShaderCodeV, // compiled operations
|
||||
&pErrorMsg, // errors
|
||||
&vid->vertex_constant_table); // constants
|
||||
NULL); // constants
|
||||
|
||||
if (SUCCEEDED(ret))
|
||||
{
|
||||
@ -285,7 +285,7 @@ static void *xdk360_gfx_init(const video_info_t *video, const input_driver_t **i
|
||||
0, // flags
|
||||
&pShaderCodeP, // compiled operations
|
||||
&pErrorMsg, // errors
|
||||
&vid->fragment_constant_table); // constants
|
||||
NULL); // constants
|
||||
}
|
||||
|
||||
if (FAILED(ret))
|
||||
@ -353,7 +353,7 @@ static void *xdk360_gfx_init(const video_info_t *video, const input_driver_t **i
|
||||
vp.MaxZ = 1.0f;
|
||||
D3DDevice_SetViewport(vid->xdk360_render_device, &vp);
|
||||
|
||||
hlsl_program.modelViewProj = XMMatrixIdentity();
|
||||
xdk360_set_orientation(g_console.screen_orientation);
|
||||
|
||||
return vid;
|
||||
}
|
||||
@ -395,9 +395,6 @@ static bool xdk360_gfx_frame(void *data, const void *frame,
|
||||
|
||||
vid->xdk360_render_device->SetVertexShaderConstantF(0, (FLOAT*)&hlsl_program.modelViewProj, 4);
|
||||
|
||||
vid->vertex_constant_table->SetDefaults(vid->xdk360_render_device);
|
||||
vid->fragment_constant_table->SetDefaults(vid->xdk360_render_device);
|
||||
|
||||
//TODO: Update the shader constants
|
||||
|
||||
D3DLOCKED_RECT d3dlr;
|
||||
|
@ -53,8 +53,6 @@ typedef struct xdk360_video
|
||||
IDirect3DVertexBuffer9* vertex_buf;
|
||||
IDirect3DTexture9* font_texture;
|
||||
IDirect3DTexture9* lpTexture;
|
||||
LPD3DXCONSTANTTABLE vertex_constant_table;
|
||||
LPD3DXCONSTANTTABLE fragment_constant_table;
|
||||
D3DPRESENT_PARAMETERS d3dpp;
|
||||
XVIDEO_MODE video_mode;
|
||||
} xdk360_video_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user