OSDN Git Service

Removed double argument() calls
authorAlexis Hetu <sugoi@google.com>
Wed, 20 Jan 2016 19:09:20 +0000 (14:09 -0500)
committerAlexis Hétu <sugoi@google.com>
Tue, 2 Feb 2016 15:07:32 +0000 (15:07 +0000)
commit325cf49cf65cbcadad3e867d5d0adf44f791826a
treec6bfd8b4441ee903dba56f4e2fbd864834cc5170
parent576aea5c0d993e5109445e921a418493dce5fa19
Removed double argument() calls

Some calls to the argument() function were made twice
because the emit() function didn't know what index to
use for each individual input. I added the function
arguments to the emit() function in order to solve that.

WebGL conformance tests pass.

Change-Id: I548b72cadf7247afd103b6be2ddfeaf39a995025
Reviewed-on: https://swiftshader-review.googlesource.com/4575
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/compiler/OutputASM.cpp
src/OpenGL/compiler/OutputASM.h