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

[glsl-out] Convert modulo operator on float to SPIR-V OpFRem equivalent function #1452

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

Gordon-F
Copy link
Collaborator

@Gordon-F Gordon-F commented Oct 7, 2021

Fix #1451

@JCapucho
Copy link
Collaborator

JCapucho commented Oct 7, 2021

This translation isn't correct see #1410

@kvark kvark requested a review from JCapucho October 7, 2021 12:35
@Gordon-F Gordon-F changed the title Convert modulo operator on float vector to mod function Convert modulo operator on float to SPIR-V OpFRem equivalent function Oct 7, 2021
@Gordon-F Gordon-F changed the title Convert modulo operator on float to SPIR-V OpFRem equivalent function [glsl-out] Convert modulo operator on float to SPIR-V OpFRem equivalent function Oct 7, 2021
src/back/glsl/mod.rs Show resolved Hide resolved
src/back/glsl/mod.rs Outdated Show resolved Hide resolved
src/back/glsl/mod.rs Outdated Show resolved Hide resolved
@kvark kvark added this to the Version 0.7 milestone Oct 7, 2021
@kvark kvark merged commit 943235c into gfx-rs:master Oct 7, 2021
@Gordon-F Gordon-F deleted the glsl-out branch October 7, 2021 21:00
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.

[wgsl-in]/[glsl-out] Bug with vec types and modulo operator
3 participants