Skip to content

Commit

Permalink
Making HLSL code-gen a couple orders of magnitude faster... (#7719)
Browse files Browse the repository at this point in the history
Removing redundant print_expr()
  • Loading branch information
slomp authored Jul 28, 2023
1 parent 649a224 commit 89ffae2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CodeGen_D3D12Compute_Dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,6 @@ 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 89ffae2

Please sign in to comment.