Skip to content

Commit

Permalink
Revert "Making HLSL code-gen a couple orders of magnitude faster... (#…
Browse files Browse the repository at this point in the history
…7719)"

This reverts commit 89ffae2.
  • Loading branch information
abadams authored Aug 1, 2023
1 parent 0839270 commit 1afe5e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CodeGen_D3D12Compute_Dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ string CodeGen_D3D12Compute_Dev::CodeGen_D3D12Compute_C::print_cast(Type target_
void CodeGen_D3D12Compute_Dev::CodeGen_D3D12Compute_C::visit(const Cast *op) {
Type target_type = op->type;
Type source_type = op->value.type();
string value_expr = print_expr(op->value);

string cast_expr = print_cast(target_type, source_type, print_expr(op->value));

Expand Down

0 comments on commit 1afe5e0

Please sign in to comment.