Skip to content

Commit

Permalink
Working on refactoring VU stuff still
Browse files Browse the repository at this point in the history
  • Loading branch information
nchalkley2 committed Dec 12, 2024
1 parent ec8fd9a commit 677eb02
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- name: Get dependencies
run: |
apk add sudo bash build-base binutils-dev git cmake xorriso assimp-dev musl-obstack-dev jsoncpp-dev imagemagick-dev sox
apk add sudo bash build-base binutils-dev git cmake xorriso assimp-dev musl-obstack-dev jsoncpp-dev imagemagick-dev sox stb
- name: Compile ps2 engine
run: |
Expand Down
2 changes: 1 addition & 1 deletion dependencies/egg-ps2-graphics-lib/src/vu_programs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ namespace vu1_programs
DEFINE_VU_PROGRAM(xgkick, xgkick);
DEFINE_VU_PROGRAM(vertex_color_texture_renderer, VertexColorTextureRenderer);
DEFINE_VU_PROGRAM(vertex_color_renderer, VertexColorRenderer);
DEFINE_VU_PROGRAM(project, project);
DEFINE_VU_PROGRAM(project, Project);
} // namespace vu1_programs
} // namespace egg::ps2::graphics
Binary file modified dependencies/egg-ps2-graphics-lib/vu1/project.vo
Binary file not shown.
62 changes: 0 additions & 62 deletions dependencies/egg-ps2-graphics-lib/vu1/project.vsm

This file was deleted.

4 changes: 2 additions & 2 deletions src/renderer/gs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ void init()
epg::init(gs_options);

// Load vertex color + textured vertex color programs
epg::vu1_programs::get_vertex_color_program_addr() = epg::load_vu_program(epg::vu1_programs::get_vertex_color_program_mem_address());
epg::vu1_programs::get_vertex_color_texture_program_addr() = epg::load_vu_program(epg::vu1_programs::get_vertex_color_texture_program_mem_address());
epg::vu1_programs::get_vertex_color_renderer().load_program();
epg::vu1_programs::get_vertex_color_texture_renderer().load_program();

epg::gs_mem::allocate_texture_slot(1);
epg::gs_mem::allocate_texture_slot(1);
Expand Down

0 comments on commit 677eb02

Please sign in to comment.