diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2016-05-26 20:21:58 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2016-06-15 12:47:37 -0700 |
commit | 2b867264d2cce59bd65bd3599ff0e3c5439bc9d4 (patch) | |
tree | 5547dade3548cd8da3e7a550786a39fac0c3af3c /src/mesa/main/mtypes.h | |
parent | 1bc194cd64085d07f1aae319cb6fb3c99d69aaeb (diff) | |
download | external_mesa3d-2b867264d2cce59bd65bd3599ff0e3c5439bc9d4.zip external_mesa3d-2b867264d2cce59bd65bd3599ff0e3c5439bc9d4.tar.gz external_mesa3d-2b867264d2cce59bd65bd3599ff0e3c5439bc9d4.tar.bz2 |
glsl: Optionally lower TCS gl_PatchVerticesIn to a uniform.
i965 has no special hardware for this, so the best way to implement
this is to pass it in via a uniform.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 85ef22d..4d2fdb9 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3762,6 +3762,7 @@ struct gl_constants GLuint MaxTessPatchComponents; GLuint MaxTessControlTotalOutputComponents; bool LowerTessLevel; /**< Lower gl_TessLevel* from float[n] to vecn? */ + bool LowerTCSPatchVerticesIn; /**< Lower gl_PatchVerticesIn to a uniform */ bool LowerTESPatchVerticesIn; /**< Lower gl_PatchVerticesIn to a uniform */ bool PrimitiveRestartForPatches; bool LowerCsDerivedVariables; /**< Lower gl_GlobalInvocationID and |