Skip to content
Snippets Groups Projects

Cumulative Feature Update

Merged Jonathan Kunstwald requested to merge feature/expand-texture-2d-multisample into develop
Files
40
@@ -2,8 +2,10 @@ from Cheetah.Template import Template
# http://www.cheetahtemplate.org/docs/users_guide_html/users_guide.html
outCodeDir = "/home/ptrettner/projects/glow-tests/libs/glow/src/glow/objects/"
outTestDir = "/home/ptrettner/projects/glow-tests/src/objects/tex-gen/"
#outCodeDir = "/home/ptrettner/projects/glow-tests/libs/glow/src/glow/objects/"
#outTestDir = "/home/ptrettner/projects/glow-tests/src/objects/tex-gen/"
outCodeDir = "/mnt/c/Users/Kunstwald/workspace/glow-samples/glow/src/glow/objects/"
outTestDir = "/mnt/c/Users/Kunstwald/workspace/glow-tex-tests/"
texTypes = {
"GL_TEXTURE_1D": {
@@ -67,7 +69,7 @@ texTypes = {
"shortdesc": "a 2D multisampled texture",
"hasMipmaps": False,
"dims": 2,
"hasImmutable": False,
"hasImmutable": True,
"isMultisample": True,
"samplerSuffix": "2D_MULTISAMPLE",
},
@@ -161,6 +163,7 @@ def main():
context["offsetDataMember"] = ["OffsetX", "OffsetY", "OffsetZ"][0:context["storageDim"]]
context["dimCall"] = ", ".join(map(lambda x: "m" + x, context["sizeMember"]) + ["1", "1", "1"][0:3-len(context["sizeVars"])])
context["sizeMemberCall"] = ", ".join(map(lambda x: "m" + x, context["sizeMember"]))
context["sizeMemberCallBound"] = ", ".join(map(lambda x: "texture->m" + x, context["sizeMember"]))
context["sizeExpandCall"] = ", ".join(["size.x", "size.y", "size.z", "size.w"][0:len(context["sizeVars"])])
t = Template(file='texture.hh.tmpl', searchList=context)
Loading