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

[Merged by Bors] - add support for .comp glsl shaders #6084

Closed
wants to merge 1 commit into from

Conversation

IceSentry
Copy link
Contributor

Objective

  • Support .comp extension for glsl compute shaders

Solution

  • Add .comp to the shader asset loader

@IceSentry IceSentry added A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Sep 24, 2022
Copy link
Contributor

@jakobhellermann jakobhellermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as precedent, glslang knows file extensions frag, vert, comp and stuff that wgpu doesn't expose: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/

@mockersf
Copy link
Member

@IceSentry this seems to be minimal support yet complete for the extension .comp, do you want to add more before taking it out of draft?

@IceSentry
Copy link
Contributor Author

It was in draft mode because I haven't actually tested it with anything so I don't know if it works. As soon as I can confirm it works I'll take it out of draft mode.

@IceSentry IceSentry marked this pull request as ready for review September 26, 2022 21:06
@IceSentry
Copy link
Contributor Author

I tested a really simple compute shader using .comp and it worked as expected, so this is ready.

@mockersf mockersf added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Sep 26, 2022
@cart
Copy link
Member

cart commented Sep 27, 2022

bors r+

bors bot pushed a commit that referenced this pull request Sep 27, 2022
# Objective

- Support `.comp` extension for glsl compute shaders

## Solution

- Add `.comp` to the shader asset loader
@bors bors bot changed the title add support for .comp glsl shaders [Merged by Bors] - add support for .comp glsl shaders Sep 27, 2022
@bors bors bot closed this Sep 27, 2022
@IceSentry IceSentry deleted the glsl-comp branch September 28, 2022 05:53
james7132 pushed a commit to james7132/bevy that referenced this pull request Oct 19, 2022
# Objective

- Support `.comp` extension for glsl compute shaders

## Solution

- Add `.comp` to the shader asset loader
james7132 pushed a commit to james7132/bevy that referenced this pull request Oct 28, 2022
# Objective

- Support `.comp` extension for glsl compute shaders

## Solution

- Add `.comp` to the shader asset loader
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

- Support `.comp` extension for glsl compute shaders

## Solution

- Add `.comp` to the shader asset loader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants