[Piglit] [PATCH 11/13] util/gl: Build libpigitutil_gles3
anuj.phogat at gmail.com
Fri Nov 30 15:17:03 PST 2012
On Fri, Nov 30, 2012 at 1:22 PM, Chad Versace
<chad.versace at linux.intel.com> wrote:
> On 11/30/2012 12:26 PM, Anuj Phogat wrote:
> > On Tue, Nov 27, 2012 at 5:52 PM, Chad Versace
> > <chad.versace at linux.intel.com> wrote:
> >> This patch just adds a new file, tests/util/CMakeLists.gles3.txt, which is
> >> closely based off tests/util/CMakeLists.gles2.txt.
> >> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> >> ---
> >> tests/util/CMakeLists.gles3.txt | 21 +++++++++++++++++++++
> >> 1 file changed, 21 insertions(+)
> >> create mode 100644 tests/util/CMakeLists.gles3.txt
> >> diff --git a/tests/util/CMakeLists.gles3.txt b/tests/util/CMakeLists.gles3.txt
> >> new file mode 100644
> >> index 0000000..d9b78c6
> >> --- /dev/null
> >> +++ b/tests/util/CMakeLists.gles3.txt
> >> @@ -0,0 +1,21 @@
> >> +list(APPEND UTIL_GL_SOURCES
> >> + minmax-test.c
> >> + piglit-util-gles.c
> >> + piglit-util-gles3-enum.c
> >> + )
> > I think you missed including piglit_shader.c here?
> I intentionally left it out. piglit_shader.c caused compilation
> problems for me, and I didn't need it for the minmax test.
> If I recall correctly, all we need to do for piglit-shader.c
> is use #define's to alias piglit_glFunc to glFunc.
yes. These #define's need to be enabled in piglit_shader.h
if PIGLIT_USE_OPENGL_ES3 is defined. I'll post a patch to add this.
More information about the Piglit