Skip to content

Commit

Permalink
shader model 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
omicronrex committed Aug 26, 2024
1 parent baf174d commit 33ee67f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ pub fn build(b: *std.Build) !void {
gm82gex_run.step.dependOn(&artifact_step.step);
b.getInstallStep().dependOn(&gm82gex_run.step);

const vshader_compile_step = try fxc(b, fxc_file, "/Tvs_3_0", "vertex.vs2", "vertex.hlsl");
const vshader_compile_step = try fxc(b, fxc_file, "/Tvs_3_0", "vertex.vs3", "vertex.hlsl");
vshader_compile_step.step.dependOn(&fxc_file.step);
gm82gex_run.step.dependOn(&vshader_compile_step.step);
const pshader_compile_step = try fxc(b, fxc_file, "/Tps_3_0", "pixel.ps2", "pixel.hlsl");
const pshader_compile_step = try fxc(b, fxc_file, "/Tps_3_0", "pixel.ps3", "pixel.hlsl");
pshader_compile_step.step.dependOn(&fxc_file.step);
gm82gex_run.step.dependOn(&pshader_compile_step.step);

Expand Down
10 changes: 5 additions & 5 deletions gm82gltf.gej
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"folder": "gm82",
"version": "1.0",
"author": "Floogle",
"date": "20/08/2024",
"date": "26/08/2024",
"license": "Free to use, also for commercial games.",
"description": "",
"helpfile": "",
Expand Down Expand Up @@ -1226,17 +1226,17 @@
"constants": []
},
{
"filename": "gltf_pixel.ps2",
"origname": "zig-out/pixel.ps2",
"filename": "gltf_pixel.ps3",
"origname": "zig-out/pixel.ps3",
"kind": 4,
"init": "",
"final": "",
"functions": [],
"constants": []
},
{
"filename": "gltf_vertex.vs2",
"origname": "zig-out/vertex.vs2",
"filename": "gltf_vertex.vs3",
"origname": "zig-out/vertex.vs3",
"kind": 4,
"init": "",
"final": "",
Expand Down
4 changes: 2 additions & 2 deletions gm82gltf.gml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
globalvar __gm82gltf_primitivemorphs;

globalvar __gm82gltf_shader_vertex_default;
__gm82gltf_shader_vertex_default=shader_vertex_create_file(temp_directory+"\gm82\gltf_vertex.vs2")
__gm82gltf_shader_vertex_default=shader_vertex_create_file(temp_directory+"\gm82\gltf_vertex.vs3")

globalvar __gm82gltf_shader_pixel_default;
__gm82gltf_shader_pixel_default=shader_pixel_create_file(temp_directory+"\gm82\gltf_pixel.ps2")
__gm82gltf_shader_pixel_default=shader_pixel_create_file(temp_directory+"\gm82\gltf_pixel.ps3")

globalvar __gm82gltf_shader_vertex; __gm82gltf_shader_vertex=__gm82gltf_shader_vertex_default
globalvar __gm82gltf_shader_pixel; __gm82gltf_shader_pixel=__gm82gltf_shader_pixel_default
Expand Down

0 comments on commit 33ee67f

Please sign in to comment.