From 9d1587772f736d1234fa20ae2be800b66bfd4f23 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Tue, 23 Apr 2024 09:52:09 -0700 Subject: [PATCH 1/4] The changelog --- docs/changelogs/1.7.0/full.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docs/changelogs/1.7.0/full.md diff --git a/docs/changelogs/1.7.0/full.md b/docs/changelogs/1.7.0/full.md new file mode 100644 index 0000000000..146b3027bb --- /dev/null +++ b/docs/changelogs/1.7.0/full.md @@ -0,0 +1,30 @@ +# Iris 1.7.0 Changelog + +## New Features + +- Added Tessellation shaders. These new shader types allow you to subdivide and add more detail to geometry. + - These take the form of `.tcs` and `.tes` shaders respectively for control and evaluation. See the Khronos wiki for + details. +- Added an attribute that allows you to see the emission value of a block. It is stored in `at_midBlock.w` and ranges + from 0-15. +- Added `cameraPositionInt` and `cameraPositionFract` for better precision, along with their respective previous + uniforms. +- Added `occlusion.culling` option. +- Added support for Distant Horizons 2.0.3. This version is not officially released yet. +- Added debug groups. This groups together information in RenderDoc for easy viewing. +- Added support for Indirect Compute shaders. This allows you to dispatch a compute shader with the work group amount + specified from a SSBO. + - To use this, you must use `indirect.pass = bufferObjectNumber` in shaders.properties, and the first object in the + SSBO must be an `uvec3`. + - ***If you do not do this, your PC will most likely crash trying to dispatch 2147483647^3 work groups. Don't do + that.*** +- Added a keybind to see a wireframe view of the world. This is only usable in singleplayer. +- Added some uniforms, mostly `isRightHanded`. + +## Technical Changes + +- Relocated Iris from `net.coderbot` to `net.irisshaders` + - This will break any mods depending on Iris 1.6.17 and below. +- Added whitespace detection code to property files. + - This fixes SEUS PTGI GFME. +- Redesigned the pipeline layout. From 0d1adcf70b8baf253fca285b4d5728d16d01866a Mon Sep 17 00:00:00 2001 From: IMS212 Date: Tue, 23 Apr 2024 10:17:53 -0700 Subject: [PATCH 2/4] Use chat instead of title --- .../net/irisshaders/iris/mixin/MixinClientPacketListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/irisshaders/iris/mixin/MixinClientPacketListener.java b/src/main/java/net/irisshaders/iris/mixin/MixinClientPacketListener.java index c63ae14617..e72a92bd60 100644 --- a/src/main/java/net/irisshaders/iris/mixin/MixinClientPacketListener.java +++ b/src/main/java/net/irisshaders/iris/mixin/MixinClientPacketListener.java @@ -30,8 +30,8 @@ public class MixinClientPacketListener { if (Iris.loadedIncompatiblePack()) { Minecraft.getInstance().gui.setTimes(10, 70, 140); Iris.logger.warn("Incompatible pack for DH!"); - Minecraft.getInstance().gui.setTitle(Component.literal("This pack doesn't have DH support").withStyle(ChatFormatting.BOLD, ChatFormatting.RED)); - Minecraft.getInstance().gui.setSubtitle(Component.literal("Distant Horizons (DH) chunks won't show up. This isn't a bug, get another shader.").withStyle(ChatFormatting.RED)); + Minecraft.getInstance().player.displayClientMessage(Component.literal("This pack doesn't have DH support.").withStyle(ChatFormatting.BOLD, ChatFormatting.RED), false); + Minecraft.getInstance().player.displayClientMessage(Component.literal("Distant Horizons (DH) chunks won't show up. This isn't a bug, get another shader.").withStyle(ChatFormatting.RED), false); } } } From b03cd4c5d420259dc40cc1ff70dcf9e0a3ec87f4 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Tue, 23 Apr 2024 10:21:03 -0700 Subject: [PATCH 3/4] Fix mistake in changelog --- docs/changelogs/1.7.0/full.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelogs/1.7.0/full.md b/docs/changelogs/1.7.0/full.md index 146b3027bb..527a177ae9 100644 --- a/docs/changelogs/1.7.0/full.md +++ b/docs/changelogs/1.7.0/full.md @@ -14,7 +14,8 @@ - Added debug groups. This groups together information in RenderDoc for easy viewing. - Added support for Indirect Compute shaders. This allows you to dispatch a compute shader with the work group amount specified from a SSBO. - - To use this, you must use `indirect.pass = bufferObjectNumber` in shaders.properties, and the first object in the + - To use this, you must use `indirect.pass = bufferObjectNumber offsetInBuffer` in shaders.properties, and the + object at offset in the SSBO must be an `uvec3`. - ***If you do not do this, your PC will most likely crash trying to dispatch 2147483647^3 work groups. Don't do that.*** From bd6b56cef6eb3fdab956ae868c30ba83ace26d40 Mon Sep 17 00:00:00 2001 From: IMS212 Date: Tue, 23 Apr 2024 10:22:43 -0700 Subject: [PATCH 4/4] Add note about unshifted --- docs/changelogs/1.7.0/full.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelogs/1.7.0/full.md b/docs/changelogs/1.7.0/full.md index 527a177ae9..161882190a 100644 --- a/docs/changelogs/1.7.0/full.md +++ b/docs/changelogs/1.7.0/full.md @@ -8,7 +8,7 @@ - Added an attribute that allows you to see the emission value of a block. It is stored in `at_midBlock.w` and ranges from 0-15. - Added `cameraPositionInt` and `cameraPositionFract` for better precision, along with their respective previous - uniforms. + uniforms. *These values are unshifted, unlike the normal ones.* - Added `occlusion.culling` option. - Added support for Distant Horizons 2.0.3. This version is not officially released yet. - Added debug groups. This groups together information in RenderDoc for easy viewing.