Skip to content

Commit

Permalink
fix iris shaders on 1.19.2/1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Aug 5, 2023
1 parent 489947f commit c58e515
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public class IrisChunkProgramOverridesMixinSodium_0_4_8 {

@Group(name = "create sodium shaders", min = 1, max = 1)
@Redirect(at = @At(value = "INVOKE", target = "Lnet/coderbot/iris/compat/sodium/impl/shader_overrides/IrisChunkProgramOverrides;createShaders(Lnet/coderbot/iris/pipeline/SodiumTerrainPipeline;Lme/jellysquid/mods/sodium/client/render/vertex/type/ChunkVertexType;)V"), method = "getProgramOverride", remap = false, expect = 0)
@Redirect(at = @At(value = "INVOKE", target = "Lnet/coderbot/iris/compat/sodium/impl/shader_overrides/IrisChunkProgramOverrides;createShaders(Lnet/coderbot/iris/pipeline/SodiumTerrainPipeline;Lme/jellysquid/mods/sodium/client/model/vertex/type/ChunkVertexType;)V"), method = "getProgramOverride", remap = false, expect = 0)
public void createAllPipelinesShadersSodium_0_4_9(IrisChunkProgramOverrides instance, SodiumTerrainPipeline sodiumTerrainPipeline, ChunkVertexType chunkVertexType) {
try {
((IrisChunkProgramOverridesExtension) this).createAllPipelinesShadersSodiumProcessing(
Expand Down
3 changes: 2 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ dependencies {
modApi("dev.architectury:architectury-fabric:${rootProject.architectury_version}")

// for sodium compat
modCompileOnly "maven.modrinth:sodium:mc1.19.2-0.4.4"
modRuntimeOnly "maven.modrinth:sodium:mc1.19.2-0.4.4"
modRuntimeOnly 'org.joml:joml:1.10.4' //temp sodium

// for iris compat
modRuntimeOnly "maven.modrinth:iris:1.6.5+1.19.2"
Expand Down

0 comments on commit c58e515

Please sign in to comment.