BlamKiwi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Add support for unsigned literals in GLSL output #964

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to compile the following shader to GLSL:
#version 300 es;
void main() {
   uint u = 1u;
}

What is the expected output? What do you see instead?
Expected: almost identical shader
Actual: assert

This is a fairly trivial omission in OutputGLSLBase.

Original issue reported on code.google.com by oetu...@nvidia.com on 2 Apr 2015 at 2:23

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Olli Etuaho <oetuaho@nvidia.com>
Commit : 5321c80889f1f2e6dc33cfaf7a2b43e4d4e4af4f

Code-Review  0 : Nicolas Capens, Olli Etuaho
Code-Review  +1: Jamie Madill
Code-Review  +2: Geoff Lang
Verified     0 : Geoff Lang, Jamie Madill, Nicolas Capens
Verified     +1: Olli Etuaho
Commit Queue   : Chumped
Change-Id      : I8eb3cfd8d49beded4ac55ead97b50c7691e4980a
Reviewed-at    : https://chromium-review.googlesource.com/263710

Add unsigned literal support to GLSL output

BUG=angleproject:964

src/compiler/translator/OutputGLSLBase.cpp

Original comment by bugdroid1@chromium.org on 2 Apr 2015 at 3:27

GoogleCodeExporter commented 9 years ago

Original comment by oetu...@nvidia.com on 2 Apr 2015 at 3:38