minor update

This commit is contained in:
Blaise Tine 2021-03-31 18:56:03 -04:00
parent e6cb148ce1
commit 99ca04ce8c
6 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
RISCV_TOOLCHAIN_PATH ?= /opt/riscv-gnu-toolchain
VORTEX_RT_PATH ?= $(wildcard ../../../runtime)
#OPTS ?= -s1.0
OPTS ?= -f1
VX_CC = $(RISCV_TOOLCHAIN_PATH)/bin/riscv32-unknown-elf-gcc
VX_CXX = $(RISCV_TOOLCHAIN_PATH)/bin/riscv32-unknown-elf-g++

Binary file not shown.

View file

@ -20,7 +20,7 @@
///////////////////////////////////////////////////////////////////////////////
const char* kernel_file = "kernel.bin";
const char* input_file = "toad.tga";
const char* input_file = "palette.tga";
const char* output_file = "output.tga";
int wrap = 0;
int filter = 0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 108 B

Before After
Before After

View file

@ -131,6 +131,7 @@ module VX_tex_addr #(
end
wire [`NUM_THREADS-1:0][`FIXED_FRAC-1:0] u0, v0;
for (genvar i = 0; i < `NUM_THREADS; ++i) begin
assign u0[i] = clamped_u[i][0];
assign v0[i] = clamped_v[i][0];

View file

@ -28,8 +28,8 @@
`define TEX_LOD_BITS 4
`define TEX_MIP_BITS (`NTEX_BITS + `TEX_LOD_BITS)
`define TEX_WRAP_REPEAT 0
`define TEX_WRAP_CLAMP 1
`define TEX_WRAP_CLAMP 0
`define TEX_WRAP_REPEAT 1
`define TEX_WRAP_MIRROR 2
`define MAX_COLOR_WIDTH 8