diff options
Diffstat (limited to '')
| -rw-r--r-- | rtl/gfx/gfx_sp_swizzle.sv (renamed from rtl/gfx/gfx_swizzle.sv) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rtl/gfx/gfx_swizzle.sv b/rtl/gfx/gfx_sp_swizzle.sv index 1a57c11..d07d934 100644 --- a/rtl/gfx/gfx_swizzle.sv +++ b/rtl/gfx/gfx_sp_swizzle.sv @@ -1,11 +1,11 @@ `include "gfx/gfx_defs.sv" -module gfx_swizzle +module gfx_sp_swizzle ( input logic clk, input vec4 in, - input swizzle_lanes select, + input shuffler_deco deco, input logic stall, output vec4 out @@ -14,6 +14,6 @@ module gfx_swizzle always_ff @(posedge clk) if (!stall) for (integer i = 0; i < `FLOATS_PER_VEC; ++i) - out[i] <= in[select[i]]; + out[i] <= in[deco.swizzle_op[i]]; endmodule |
