@@ -268,7 +268,7 @@ CRenderTarget::CRenderTarget()
268268 }
269269
270270 // OCCLUSION
271- s_occq.create (b_occq, " r2\\ occq" );
271+ s_occq.create (b_occq, " r2" DELIMITER " occq" );
272272
273273 // DIRECT (spot)
274274 D3DFORMAT depth_format = (D3DFORMAT)RImplementation.o .HW_smap_FORMAT ;
@@ -283,9 +283,9 @@ CRenderTarget::CRenderTarget()
283283 rt_smap_depth.create (r2_RT_smap_depth, size, size, depth_format);
284284 rt_smap_surf.create (r2_RT_smap_surf, size, size, nullrt);
285285 rt_smap_ZB = NULL ;
286- s_accum_mask.create (b_accum_mask, " r2\\ accum_mask" );
287- s_accum_direct.create (b_accum_direct, " r2\\ accum_direct" );
288- s_accum_direct_cascade.create (b_accum_direct_cascade, " r2\\ accum_direct_cascade" );
286+ s_accum_mask.create (b_accum_mask, " r2" DELIMITER " accum_mask" );
287+ s_accum_direct.create (b_accum_direct, " r2" DELIMITER " accum_direct" );
288+ s_accum_direct_cascade.create (b_accum_direct_cascade, " r2" DELIMITER " accum_direct_cascade" );
289289 if (RImplementation.o .advancedpp )
290290 {
291291 s_accum_direct_volumetric.create (" accum_volumetric_sun" );
@@ -299,9 +299,9 @@ CRenderTarget::CRenderTarget()
299299 rt_smap_depth = NULL ;
300300 R_CHK (HW.pDevice ->CreateDepthStencilSurface (
301301 size, size, D3DFMT_D24X8, D3DMULTISAMPLE_NONE, 0 , TRUE , &rt_smap_ZB, NULL ));
302- s_accum_mask.create (b_accum_mask, " r2\\ accum_mask" );
303- s_accum_direct.create (b_accum_direct, " r2\\ accum_direct" );
304- s_accum_direct_cascade.create (b_accum_direct_cascade, " r2\\ accum_direct_cascade" );
302+ s_accum_mask.create (b_accum_mask, " r2" DELIMITER " accum_mask" );
303+ s_accum_direct.create (b_accum_direct, " r2" DELIMITER " accum_direct" );
304+ s_accum_direct_cascade.create (b_accum_direct_cascade, " r2" DELIMITER " accum_direct_cascade" );
305305 if (RImplementation.o .advancedpp )
306306 {
307307 s_accum_direct_volumetric.create (" accum_volumetric_sun" );
@@ -311,7 +311,7 @@ CRenderTarget::CRenderTarget()
311311
312312 // POINT
313313 {
314- s_accum_point.create (b_accum_point, " r2\\ accum_point_s" );
314+ s_accum_point.create (b_accum_point, " r2" DELIMITER " accum_point_s" );
315315 accum_point_geom_create ();
316316 g_accum_point.create (D3DFVF_XYZ, g_accum_point_vb, g_accum_point_ib);
317317 accum_omnip_geom_create ();
@@ -320,20 +320,20 @@ CRenderTarget::CRenderTarget()
320320
321321 // SPOT
322322 {
323- s_accum_spot.create (b_accum_spot, " r2\\ accum_spot_s" , " lights\\ lights_spot01" );
323+ s_accum_spot.create (b_accum_spot, " r2" DELIMITER " accum_spot_s" , " lights" DELIMITER " lights_spot01" );
324324 accum_spot_geom_create ();
325325 g_accum_spot.create (D3DFVF_XYZ, g_accum_spot_vb, g_accum_spot_ib);
326326 }
327327
328328 {
329- s_accum_volume.create (" accum_volumetric" , " lights\\ lights_spot01" );
329+ s_accum_volume.create (" accum_volumetric" , " lights" DELIMITER " lights_spot01" );
330330 accum_volumetric_geom_create ();
331331 g_accum_volumetric.create (D3DFVF_XYZ, g_accum_volumetric_vb, g_accum_volumetric_ib);
332332 }
333333
334334 // REFLECTED
335335 {
336- s_accum_reflected.create (b_accum_reflected, " r2\\ accum_refl" );
336+ s_accum_reflected.create (b_accum_reflected, " r2" DELIMITER " accum_refl" );
337337 }
338338
339339 // BLOOM
@@ -349,14 +349,14 @@ CRenderTarget::CRenderTarget()
349349 rt_Bloom_2.create (r2_RT_bloom2, w, h, fmt);
350350 g_bloom_build.create (fvf_build, RCache.Vertex .Buffer (), RCache.QuadIB );
351351 g_bloom_filter.create (fvf_filter, RCache.Vertex .Buffer (), RCache.QuadIB );
352- s_bloom_dbg_1.create (" effects\\ screen_set" , r2_RT_bloom1);
353- s_bloom_dbg_2.create (" effects\\ screen_set" , r2_RT_bloom2);
354- s_bloom.create (b_bloom, " r2\\ bloom" );
352+ s_bloom_dbg_1.create (" effects" DELIMITER " screen_set" , r2_RT_bloom1);
353+ s_bloom_dbg_2.create (" effects" DELIMITER " screen_set" , r2_RT_bloom2);
354+ s_bloom.create (b_bloom, " r2" DELIMITER " bloom" );
355355 f_bloom_factor = 0 .5f ;
356356 }
357357
358358 // FXAA
359- s_fxaa.create (b_fxaa, " r3\\ fxaa" );
359+ s_fxaa.create (b_fxaa, " r3" DELIMITER " fxaa" );
360360 g_fxaa.create (FVF::F_V, RCache.Vertex .Buffer (), RCache.QuadIB );
361361
362362
@@ -378,22 +378,22 @@ CRenderTarget::CRenderTarget()
378378 D3DFORMAT fmt = HW.Caps .id_vendor == 0x10DE ? D3DFMT_R32F : D3DFMT_R16F;
379379
380380 rt_half_depth.create (r2_RT_half_depth, w, h, fmt);
381- s_ssao.create (b_ssao, " r2\\ ssao" );
381+ s_ssao.create (b_ssao, " r2" DELIMITER " ssao" );
382382 }
383383
384384 // SSAO
385385 if (RImplementation.o .ssao_blur_on )
386386 {
387387 u32 w = Device.dwWidth , h = Device.dwHeight ;
388388 rt_ssao_temp.create (r2_RT_ssao_temp, w, h, D3DFMT_G16R16F);
389- s_ssao.create (b_ssao, " r2\\ ssao" );
389+ s_ssao.create (b_ssao, " r2" DELIMITER " ssao" );
390390 }
391391
392392 // TONEMAP
393393 {
394394 rt_LUM_64.create (r2_RT_luminance_t64, 64 , 64 , D3DFMT_A16B16G16R16F);
395395 rt_LUM_8.create (r2_RT_luminance_t8, 8 , 8 , D3DFMT_A16B16G16R16F);
396- s_luminance.create (b_luminance, " r2\\ luminance" );
396+ s_luminance.create (b_luminance, " r2" DELIMITER " luminance" );
397397 f_luminance_adapt = 0 .5f ;
398398
399399 t_LUM_src.create (r2_RT_luminance_src);
@@ -417,11 +417,11 @@ CRenderTarget::CRenderTarget()
417417 {0 , 0 , D3DDECLTYPE_FLOAT4, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_POSITION, 0 }, // pos+uv
418418 {0 , 16 , D3DDECLTYPE_D3DCOLOR, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_COLOR, 0 },
419419 {0 , 20 , D3DDECLTYPE_FLOAT2, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_TEXCOORD, 0 }, D3DDECL_END ()};
420- s_combine.create (b_combine, " r2\\ combine" );
420+ s_combine.create (b_combine, " r2" DELIMITER " combine" );
421421 s_combine_volumetric.create (" combine_volumetric" );
422- s_combine_dbg_0.create (" effects\\ screen_set" , r2_RT_smap_surf);
423- s_combine_dbg_1.create (" effects\\ screen_set" , r2_RT_luminance_t8);
424- s_combine_dbg_Accumulator.create (" effects\\ screen_set" , r2_RT_accum);
422+ s_combine_dbg_0.create (" effects" DELIMITER " screen_set" , r2_RT_smap_surf);
423+ s_combine_dbg_1.create (" effects" DELIMITER " screen_set" , r2_RT_luminance_t8);
424+ s_combine_dbg_Accumulator.create (" effects" DELIMITER " screen_set" , r2_RT_accum);
425425 g_combine_VP.create (dwDecl, RCache.Vertex .Buffer (), RCache.QuadIB );
426426 g_combine.create (FVF::F_TL, RCache.Vertex .Buffer (), RCache.QuadIB );
427427 g_combine_2UV.create (FVF::F_TL2uv, RCache.Vertex .Buffer (), RCache.QuadIB );
@@ -510,7 +510,7 @@ CRenderTarget::CRenderTarget()
510510 }
511511 R_CHK (t_material_surf->UnlockBox (0 ));
512512 // #ifdef DEBUG
513- // R_CHK (D3DXSaveTextureToFile ("x:\\ r2_material.dds",D3DXIFF_DDS,t_material_surf,0));
513+ // R_CHK (D3DXSaveTextureToFile ("x:" DELIMITER " r2_material.dds",D3DXIFF_DDS,t_material_surf,0));
514514 // #endif
515515 }
516516
0 commit comments