Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed May 16, 2024
1 parent bf160d3 commit fbf48e0
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 379 deletions.
8 changes: 4 additions & 4 deletions extensions/pl_draw_3d_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ pl__get_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, pl3D
const plShaderDescription t3DShaderDesc = {

#ifdef PL_METAL_BACKEND
.pcVertexShader = "../shaders/metal/primitive.metal",
.pcPixelShader = "../shaders/metal/primitive.metal",
.pcVertexShader = "../shaders/metal/draw_3d.metal",
.pcPixelShader = "../shaders/metal/draw_3d.metal",
#else
.pcVertexShader = "draw_3d.vert.spv",
.pcPixelShader = "draw_3d.frag.spv",
Expand Down Expand Up @@ -799,8 +799,8 @@ pl__get_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, pl3D
const plShaderDescription t3DLineShaderDesc = {

#ifdef PL_METAL_BACKEND
.pcVertexShader = "../shaders/metal/primitive.metal",
.pcPixelShader = "../shaders/metal/primitive.metal",
.pcVertexShader = "../shaders/metal/draw_3d_line.metal",
.pcPixelShader = "../shaders/metal/draw_3d_line.metal",
#else
.pcVertexShader = "draw_3d_line.vert.spv",
.pcPixelShader = "draw_3d.frag.spv",
Expand Down
Loading

0 comments on commit fbf48e0

Please sign in to comment.