Skip to content

Allow to define more than one subgroup level in shader material#118353

Open
Chaosus wants to merge 1 commit intogodotengine:masterfrom
Chaosus:shader_subgroups
Open

Allow to define more than one subgroup level in shader material#118353
Chaosus wants to merge 1 commit intogodotengine:masterfrom
Chaosus:shader_subgroups

Conversation

@Chaosus
Copy link
Copy Markdown
Member

@Chaosus Chaosus commented Apr 9, 2026

изображение

Test code:

shader_type canvas_item;

group_uniforms Foo.test.Cool;
uniform float t; 

group_uniforms Foo.test;
uniform float aa;

group_uniforms Foo;
uniform vec3 v;

group_uniforms;
uniform vec3 vv;

group_uniforms Foo2;
uniform vec3 v2;

group_uniforms Foo.test.Cool;
uniform float v3; 

group_uniforms;
uniform vec3 vv4;

void fragment() {
}

@Chaosus Chaosus requested review from a team as code owners April 9, 2026 15:53
@Chaosus Chaosus added this to the 4.x milestone Apr 9, 2026
@Chaosus Chaosus force-pushed the shader_subgroups branch 2 times, most recently from c8014bf to 85db8e7 Compare April 9, 2026 16:07
@Chaosus Chaosus force-pushed the shader_subgroups branch from 85db8e7 to 5c667de Compare April 9, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Increase shader subgroup nesting depth

1 participant