OSDN Git Service

Increasing the number of vertex texture units allowed
authorAlexis Hetu <sugoi@google.com>
Wed, 10 Jun 2015 18:13:09 +0000 (14:13 -0400)
committerAlexis Hétu <sugoi@google.com>
Thu, 11 Jun 2015 18:59:32 +0000 (18:59 +0000)
Technically, the rest of the code *should* already
support changing this value and all related changes
should propagate properly. This allows a few dEQP
tests that were "unsupported" to now pass.

Change-Id: Ie99e1fba88e7642be447a380b78969365194ca5f
Reviewed-on: https://swiftshader-review.googlesource.com/3461
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/Main/Config.hpp

index 0fb5371..320b035 100644 (file)
@@ -70,7 +70,7 @@ enum
        MIPMAP_LEVELS = 14,\r
        MAX_COLOR_ATTACHMENTS = 8,\r
        TEXTURE_IMAGE_UNITS = 16,\r
-       VERTEX_TEXTURE_IMAGE_UNITS = 4,\r
+       VERTEX_TEXTURE_IMAGE_UNITS = 16,\r
        TOTAL_IMAGE_UNITS = TEXTURE_IMAGE_UNITS + VERTEX_TEXTURE_IMAGE_UNITS,\r
        FRAGMENT_UNIFORM_VECTORS = 224,\r
        VERTEX_UNIFORM_VECTORS = 256,\r