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

[HLSL] Implement constant expression evaluator for HLSL splat cast #125766

Open
spall opened this issue Feb 4, 2025 · 0 comments
Open

[HLSL] Implement constant expression evaluator for HLSL splat cast #125766

spall opened this issue Feb 4, 2025 · 0 comments
Labels
HLSL HLSL Language Support

Comments

@spall
Copy link
Contributor

spall commented Feb 4, 2025

See PR for Implementation of this cast #118992

Add support to handle the new cast in the constant expression evaluator (clang/lib/AST/ExprConstant.cpp)
Support to handle this cast should be added to:

  • VectorExprEvaluator::VisitCastExpr
  • RecordExprEvaluator::VisitCastExpr
  • ArrayExprEvaluator::VisitCastExpr (There is currently no such function but I believe it should be added).
@spall spall moved this to Planning in HLSL Support Feb 4, 2025
@EugeneZelenko EugeneZelenko added HLSL HLSL Language Support and removed new issue labels Feb 4, 2025
@damyanp damyanp moved this from Planning to Ready in HLSL Support Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLSL HLSL Language Support
Projects
Status: Ready
Development

No branches or pull requests

3 participants