Skip to content

Commit

Permalink
HXSL : Fix DCE debug not printing swizzling dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TothBenoit committed Jan 29, 2025
1 parent 80f17dd commit 7c90f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hxsl/Debug.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Debug {
public static function varName( v : Ast.TVar, swizBits = 15 ) {
var name = v.name;
if( swizBits != 15 ) name += swizStr(swizBits);
return VAR_IDS ? v.name+"@"+v.id : v.name;
return VAR_IDS ? name+"@"+v.id : name;
}

static function swizStr( bits : Int ) {
Expand Down

0 comments on commit 7c90f81

Please sign in to comment.