| commit | 88816fa884b4c045990e7941543fce73dd5c4152 | [log] [tgz] |
|---|---|---|
| author | Ben Clayton <bclayton@google.com> | Wed May 15 17:08:14 2019 +0100 |
| committer | Ben Clayton <bclayton@google.com> | Tue May 28 22:07:25 2019 +0000 |
| tree | f7f5e6e60c55726cb2c02661d4f84df925af5808 | |
| parent | 90cb260644cdcdb81e87c6e3bf3ec5885eb23f3b [diff] [blame] |
Reactor: Add UInt4 constructors taking UInt Odd that these don't exist already. Change-Id: I018dc4eb5144cb4c359c790aadabc35516bdd745 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31430 Tested-by: Ben Clayton <bclayton@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
diff --git a/src/Shader/VertexProgram.cpp b/src/Shader/VertexProgram.cpp index 67307ef..b3f81a0 100644 --- a/src/Shader/VertexProgram.cpp +++ b/src/Shader/VertexProgram.cpp
@@ -92,7 +92,7 @@ { if(state.textureSampling) { - vertexID = Int4(index); + vertexID = Int4(Int(index)); } else {