Shader/AstOptimizer: Fix Vector4 cast propagation optimization
This commit is contained in:
parent
47e2ec35e3
commit
4e5def1095
|
|
@ -1014,7 +1014,7 @@ namespace Nz::ShaderAst
|
||||||
{
|
{
|
||||||
std::unique_ptr<ConstantValueExpression> optimized;
|
std::unique_ptr<ConstantValueExpression> optimized;
|
||||||
|
|
||||||
using CCType = CastConstantPropagation<Vector3<TargetType>, TargetType, TargetType, TargetType, TargetType>;
|
using CCType = CastConstantPropagation<Vector4<TargetType>, TargetType, TargetType, TargetType, TargetType>;
|
||||||
|
|
||||||
if constexpr (is_complete_v<CCType>)
|
if constexpr (is_complete_v<CCType>)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue