Fix vertex sampler reserved mask for 3D/cube textures
authorBart van der Werf <bluelive@gmail.com>
Wed, 03 Jun 2020 10:58:37 -0400
changeset 1261 3405ca546164
parent 1260 a7b757ae5ba1
child 1262 8df5c62abd22
Fix vertex sampler reserved mask for 3D/cube textures
mojoshader.c
--- a/mojoshader.c	Tue May 26 08:08:52 2020 -0400
+++ b/mojoshader.c	Wed Jun 03 10:58:37 2020 -0400
@@ -1050,7 +1050,7 @@
             const uint32 ttype = ((token >> 27) & 0xF);
             if (!valid_texture_type(ttype))
                 fail(ctx, "Unknown sampler texture type");
-            reserved_mask = 0x6FFFFFFF;
+            reserved_mask = 0x0FFFFFFF;
             ctx->dwords[0] = ttype;
         } // else if
         else