Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

glsl-out: Fix feature search in expressions #1887

Merged
merged 1 commit into from
May 5, 2022

Conversation

JCapucho
Copy link
Collaborator

@JCapucho JCapucho commented May 2, 2022

The fma wasn't being searched in case it wasn't supported which is the
opposite of what we want since if it's used we want to error if it isn't
supported.

It was also searching in all entry points instead of only in the current
one.

All samples queries need the ARB_shader_texture_image_samples extension
so we need to check if any samples queries are made and if so request
the extension.

It was also searching in all entry points instead of only in the current
one.

All samples queries need the ARB_shader_texture_image_samples extension
so we need to check if any samples queries are made and if so request
the extension.
@JCapucho JCapucho force-pushed the glsl-features-fix branch from 92f94a7 to 4d06b77 Compare May 3, 2022 20:25
@JCapucho JCapucho merged commit cf32c2b into gfx-rs:master May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants