Skip to content

Fold instance array check with the feature mask in SYCL traversal - #657

Open
nsirgien wants to merge 1 commit into
RenderKit:masterfrom
nsirgien:optimising_dead_code_for_blender_intersect_subsurface
Open

nsirgien wants to merge 1 commit into
RenderKit:masterfrom
nsirgien:optimising_dead_code_for_blender_intersect_subsurface

Conversation

@nsirgien

@nsirgien nsirgien commented Dec 2, 2026

Copy link
Copy Markdown

Derive instance_array from the feature mask as well as the type mask, so
IGC can remove the instance array path when RTC_FEATURE_FLAG_INSTANCE_ARRAY
is disabled. DPC++ 7.2 no longer folds it from the type mask alone, which
made intersect_subsurface in Cycles about 79% slower on B580.

Co-authored-by: Claude Opus 5.5 noreply@anthropic.com

Derive instance_array from the feature mask as well as the type mask, so
IGC can remove the instance array path when RTC_FEATURE_FLAG_INSTANCE_ARRAY
is disabled. DPC++ 7.2 no longer folds it from the type mask alone, which
made intersect_subsurface in Cycles about 79% slower on B580.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant