From 0a77ebbeafea322b3922c33f9bf02553199094b3 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 1 May 2019 00:29:58 +0200 Subject: [PATCH] [dxgi] Change default of s_gamma_bound to true In the future, we'll assume true and only pass the spec constant value to the driver if their value is actually different from the default, but this requires reliable defaults. --- src/dxgi/shaders/dxgi_presenter_frag.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxgi/shaders/dxgi_presenter_frag.frag b/src/dxgi/shaders/dxgi_presenter_frag.frag index 586eb3680..e52a0d765 100644 --- a/src/dxgi/shaders/dxgi_presenter_frag.frag +++ b/src/dxgi/shaders/dxgi_presenter_frag.frag @@ -1,6 +1,6 @@ #version 450 -layout(constant_id = 1) const bool s_gamma_bound = false; +layout(constant_id = 1) const bool s_gamma_bound = true; layout(binding = 0) uniform sampler2D s_image; layout(binding = 1) uniform sampler1D s_gamma;