You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove redundant assignments.
Use used_in_transfer instead of used_in_compute twice.
This commit is contained in:
@@ -2171,10 +2171,8 @@ EffectsRD::EffectsRD(bool p_prefer_raster_effects) {
|
||||
for (int pass = 0; pass < 4; pass++) {
|
||||
for (int subPass = 0; subPass < sub_pass_count; subPass++) {
|
||||
int a = pass;
|
||||
int b = subPass;
|
||||
|
||||
int spmap[5]{ 0, 1, 4, 3, 2 };
|
||||
b = spmap[subPass];
|
||||
int b = spmap[subPass];
|
||||
|
||||
float ca, sa;
|
||||
float angle0 = (float(a) + float(b) / float(sub_pass_count)) * Math_PI * 0.5f;
|
||||
|
||||
Reference in New Issue
Block a user