Skip to content

Commit

Permalink
Never enable fastprecision (fixes rendering on RTX2080)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Jun 9, 2020
1 parent 31ca5e4 commit d4d390e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions rpcore/shader/render_pipeline_base.inc.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
// Main configuration file, included by all shaders, provides generic defines
// and functions.

// Leads to some compilation issues
#ifndef NO_FAST_PRECISION
#pragma optionNV (fastprecision on)
#endif

#pragma include "/$$rptemp/$$pipeline_shader_config.inc.glsl"

// Optionally unroll *all* loops, this might be faster, but might also be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// This file includes defines and functions used for the scattering


// Don't use fast precision, leads to compilation issues for compute shaders
#define NO_FAST_PRECISION
// #define SCATTERING_USE_32_BIT 1

#pragma include "render_pipeline_base.inc.glsl"
Expand Down

0 comments on commit d4d390e

Please sign in to comment.