<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/bugs/gh-122.slang.glsl, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2017-07-19T17:12:58+00:00</updated>
<entry>
<title>Fix up translation of `GetDimensions()`</title>
<updated>2017-07-19T17:12:58+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoley@nvidia.com</email>
</author>
<published>2017-07-19T17:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=55a29042a2826f26272c9e1b65cd3745bad3ee31'/>
<id>urn:sha1:55a29042a2826f26272c9e1b65cd3745bad3ee31</id>
<content type='text'>
Fixes #122

- In cases with an explicit mip level being specified, there was a mistake in how the argument for setting the mip level in the GLSL code was constructed that led to a parse error in GLSL

- Also, that argument is a `uint` in HLSL and an `int` in GLSL, so an explicit cast was needed

- The GLSL functions here seem to require a newer GLSL (at least higher than `420`), so I had to add in a capability for builtins to specify a required GLSL version. For now I made these ones require `450`.

- Added a test case to confirm that our lowering works (for some definition of "works")
</content>
</entry>
</feed>
