Skip to content

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

Merged
stefanatwork merged 1 commit into
RenderKit:masterfrom
nsirgien:optimising_dead_code_for_blender_intersect_subsurface
Dec 4, 2026
Merged

stefanatwork merged 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
Contributor

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>
@stefanatwork
stefanatwork merged commit a33e6ee into RenderKit:master Dec 4, 2026
5 of 7 checks passed
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.

3 participants