summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/d3d/d3dhlsl.h
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2017-01-05 12:30:07 -0500
committer GitHub <noreply@github.com>2017-01-05 12:30:07 -0500
commit311a56b958a0d9b2317c3b9787c174f1e4651810 (patch)
tree88f5eaf46bfd2c9838b5a6478285dac5b04366ab /src/osd/modules/render/d3d/d3dhlsl.h
parentff28f114b4591eafc1a64e2e000997b763a9e369 (diff)
Revert "New phosphor persistence shaders for HLSL"
Diffstat (limited to 'src/osd/modules/render/d3d/d3dhlsl.h')
-rw-r--r--src/osd/modules/render/d3d/d3dhlsl.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/osd/modules/render/d3d/d3dhlsl.h b/src/osd/modules/render/d3d/d3dhlsl.h
index 6c94be09793..ed25d2c52e8 100644
--- a/src/osd/modules/render/d3d/d3dhlsl.h
+++ b/src/osd/modules/render/d3d/d3dhlsl.h
@@ -77,12 +77,7 @@ public:
CU_FOCUS_SIZE,
- CU_PHOSPHOR_MODE,
- CU_PHOSPHOR_TIME,
- CU_PHOSPHOR_BETA,
-
- CU_LCD_RISE_TIME,
- CU_LCD_FALL_TIME,
+ CU_PHOSPHOR_LIFE,
CU_POST_VIGNETTING,
CU_POST_DISTORTION,
@@ -208,11 +203,7 @@ struct hlsl_options
float scale[3];
float power[3];
float floor[3];
- int phosphor_mode;
- float phosphor_time[3];
- float phosphor_beta[3];
- float lcd_rise_time[3];
- float lcd_fall_time[3];
+ float phosphor[3];
float saturation;
// NTSC
@@ -341,7 +332,6 @@ private:
int deconverge_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum);
int defocus_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum);
int phosphor_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum);
- int ghosting_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum);
int post_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum, bool prepare_bloom);
int downsample_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum);
int bloom_pass(d3d_render_target *rt, int source_index, poly_info *poly, int vertnum);
@@ -391,7 +381,6 @@ private:
effect * distortion_effect; // pointer to the distortion-effect object
effect * focus_effect; // pointer to the focus-effect object
effect * phosphor_effect; // pointer to the phosphor-effect object
- effect * ghosting_effect; // pointer te the LCD ghosting effect object
effect * deconverge_effect; // pointer to the deconvergence-effect object
effect * color_effect; // pointer to the color-effect object
effect * ntsc_effect; // pointer to the NTSC effect object