]> git.tdb.fi Git - libs/gl.git/commitdiff
Mark PBR precalc parameters as push constants
authorMikko Rasa <tdb@tdb.fi>
Sat, 11 Dec 2021 23:46:55 +0000 (01:46 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 11 Dec 2021 23:46:55 +0000 (01:46 +0200)
builtin_data/_pbr_prefilter.glsl

index e0616c251226b359672dbd9d109909b209cac55b..50fde16557eeb5038a6259d0b50ad61d3bed2637 100644 (file)
@@ -1,4 +1,4 @@
-uniform PrecalcParams
+layout(push_constant) uniform PrecalcParams
 {
        int n_samples;
        float roughness;