From: Mikko Rasa Date: Sat, 11 Dec 2021 23:46:55 +0000 (+0200) Subject: Mark PBR precalc parameters as push constants X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=098a0475c25dc59fa31288cff011333f49f0382b;p=libs%2Fgl.git Mark PBR precalc parameters as push constants --- diff --git a/builtin_data/_pbr_prefilter.glsl b/builtin_data/_pbr_prefilter.glsl index e0616c25..50fde165 100644 --- a/builtin_data/_pbr_prefilter.glsl +++ b/builtin_data/_pbr_prefilter.glsl @@ -1,4 +1,4 @@ -uniform PrecalcParams +layout(push_constant) uniform PrecalcParams { int n_samples; float roughness;