Skip to content

Commit b51f203

Browse files
committed
fix: vertex shaders also don't have shared memory
1 parent 09aa01b commit b51f203

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shady/passes/specialize_execution_model.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ static const Node* process(Context* ctx, const Node* node) {
2929

3030
static void specialize_arena_config(const CompilerConfig* config, Module* m, ArenaConfig* target) {
3131
switch (config->specialization.execution_model) {
32+
case EmVertex:
3233
case EmFragment: {
3334
target->allow_subgroup_memory = false;
3435
target->allow_shared_memory = false;

0 commit comments

Comments
 (0)