Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader Insanity with task list #45

Closed
Ipotrick opened this issue Mar 30, 2023 · 3 comments
Closed

Shader Insanity with task list #45

Ipotrick opened this issue Mar 30, 2023 · 3 comments

Comments

@Ipotrick
Copy link
Owner

Integrate shader compilatiuon with task list.
Shader declares use of a task list resource.
Task list will inferr that use and add the corresponding task.
No more need to pass task resources around, they simply become a global in the shader after usage declaration.

Syntax proposal:

DAXA_DECLARE_TASK_IMAGE_USE(task_image_debug_name, access, slice);

void main()
{
  daxa_Image2Df32 image = task_image_debug_name;
}
@Ipotrick
Copy link
Owner Author

It would be nice to have a way to make the slice run-time configurable.

@GabeRundlett
Copy link
Collaborator

I'm not convinced I like it yet, and would like to see it implemented first

@Ipotrick
Copy link
Owner Author

Ipotrick commented Apr 5, 2023

Merged changes that allow for task use declaration in inl files.

@Ipotrick Ipotrick closed this as completed Apr 5, 2023
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

No branches or pull requests

2 participants