minor update
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
RISCV_TOOLCHAIN_PATH ?= /opt/riscv-gnu-toolchain
|
RISCV_TOOLCHAIN_PATH ?= /opt/riscv-gnu-toolchain
|
||||||
VORTEX_RT_PATH ?= $(wildcard ../../../runtime)
|
VORTEX_RT_PATH ?= $(wildcard ../../../runtime)
|
||||||
|
|
||||||
#OPTS ?= -s1.0
|
OPTS ?= -f1
|
||||||
|
|
||||||
VX_CC = $(RISCV_TOOLCHAIN_PATH)/bin/riscv32-unknown-elf-gcc
|
VX_CC = $(RISCV_TOOLCHAIN_PATH)/bin/riscv32-unknown-elf-gcc
|
||||||
VX_CXX = $(RISCV_TOOLCHAIN_PATH)/bin/riscv32-unknown-elf-g++
|
VX_CXX = $(RISCV_TOOLCHAIN_PATH)/bin/riscv32-unknown-elf-g++
|
||||||
|
|||||||
Binary file not shown.
@@ -20,7 +20,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
const char* kernel_file = "kernel.bin";
|
const char* kernel_file = "kernel.bin";
|
||||||
const char* input_file = "toad.tga";
|
const char* input_file = "palette.tga";
|
||||||
const char* output_file = "output.tga";
|
const char* output_file = "output.tga";
|
||||||
int wrap = 0;
|
int wrap = 0;
|
||||||
int filter = 0;
|
int filter = 0;
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 108 B |
@@ -131,6 +131,7 @@ module VX_tex_addr #(
|
|||||||
end
|
end
|
||||||
|
|
||||||
wire [`NUM_THREADS-1:0][`FIXED_FRAC-1:0] u0, v0;
|
wire [`NUM_THREADS-1:0][`FIXED_FRAC-1:0] u0, v0;
|
||||||
|
|
||||||
for (genvar i = 0; i < `NUM_THREADS; ++i) begin
|
for (genvar i = 0; i < `NUM_THREADS; ++i) begin
|
||||||
assign u0[i] = clamped_u[i][0];
|
assign u0[i] = clamped_u[i][0];
|
||||||
assign v0[i] = clamped_v[i][0];
|
assign v0[i] = clamped_v[i][0];
|
||||||
|
|||||||
@@ -28,8 +28,8 @@
|
|||||||
`define TEX_LOD_BITS 4
|
`define TEX_LOD_BITS 4
|
||||||
`define TEX_MIP_BITS (`NTEX_BITS + `TEX_LOD_BITS)
|
`define TEX_MIP_BITS (`NTEX_BITS + `TEX_LOD_BITS)
|
||||||
|
|
||||||
`define TEX_WRAP_REPEAT 0
|
`define TEX_WRAP_CLAMP 0
|
||||||
`define TEX_WRAP_CLAMP 1
|
`define TEX_WRAP_REPEAT 1
|
||||||
`define TEX_WRAP_MIRROR 2
|
`define TEX_WRAP_MIRROR 2
|
||||||
|
|
||||||
`define MAX_COLOR_WIDTH 8
|
`define MAX_COLOR_WIDTH 8
|
||||||
|
|||||||
Reference in New Issue
Block a user