Age | Commit message (Collapse) | Author | Files | Lines |
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
Piglit can make API-based decisions at runtime rather than buildtime.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
Piglit can make API-based decisions at runtime rather than buildtime.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
Piglit can make API-based decisions at runtime rather than buildtime.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
This patch is safe for GLES because glGetStringi() is available in
OpenGL ES 3.0.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
This patch removes the last #ifdef PIGLIT_USE_OPENGL guard in
piglit-shader-.c. Now that piglit-dispatch supports every OpenGL API,
this file no longer needs to provide separate implementations for GL and
GLES.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
These files are no longer used after moving all their functions to
piglit-shader.c.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Move the implementations of the functions below from piglit-shader-gl.c
into piglit-shader.c, and delete their stub implementations in
piglit-shader-gles2.c.
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
This patch brings us one step closer to unifying Piglit's CMake files.
piglit_require_GLSL
piglit_require_vertex_shader
piglit_require_fragment_shader
piglit_program_pipeline_check_status
piglit_program_pipeline_check_status_quiet
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
CMake never knew about this file, and now it never will.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
The entire file piglit-shader-gl.c was protected by #ifdef
PIGLIT_USE_OPENGL. This patch removes the #ifdef. Now that
piglit-dispatch supports every OpenGL API, there is no longer a need for
it.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
piglit_wfl_framework already initializes piglit-dispatch. Don't do it
again.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Fix the warnings below.
piglit_fbo_framework.c:32:1: warning: ‘destroy’ defined but not used [-Wunused-function]
destroy(struct piglit_gl_framework *gl_fw)
^
piglit_fbo_framework.c:44:1: warning: ‘run_test’ defined but not used [-Wunused-function]
run_test(struct piglit_gl_framework *gl_fw,
^
piglit_fbo_framework.c:58:1: warning: ‘init_gl’ defined but not used [-Wunused-function]
init_gl(struct piglit_wfl_framework *wfl_fw)
^
The problem was that most of the file was discarded by the preprocessor when
building for ES1. Fix it by carefully moving the #ifdef PIGLIT_USE_OPENGL_ES1 guards.
This patch shouldn't change any runtime behavior.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
To fix the warning below, replace fabs with abs.
tests/util/piglit-util-gl-common.c:1240:9: warning: using floating point
absolute value function 'fabs' when argument is of integer type
[-Wabsolute-value] \
if (fabs(probe[p] - expected[p]) >= piglit_tolerance[p]) {
^
tests/util/piglit-util-gl-common.c:1240:9: note: use function 'abs' instead
if (fabs(probe[p] - expected[p]) >= piglit_tolerance[p]) {
^~~~
abs
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
To fix the warning below, cast uint to int.
tests/util/piglit-util-gl-common.c:1273:9: warning: taking the absolute value \
of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
if (fabs(probe[p] - expected[p]) >= piglit_tolerance[p]) {
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
tests/util/piglit-log.c: warning: comparison of unsigned enum \
expression < 0 is always false [-Wtautological-compare]
return opt < 0 || opt > PIGLIT_LOG_OPT_MAX;
~~~ ^ ~
Fix the warning by removing the dead comparison.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
A simple test to check that using texelFetch() to get individual
samples from a MSAA texture really works.
v2: rename "fetch texel" -> "texel fetch".
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
|
|
|
|
Except for textureCubeGradARB, which the test doesn't support yet.
|
|
|
|
+ off-by-one error fix in check_result
|
|
|
|
|
|
|
|
|
|
+ Use level 0 texture coordinates to really verify the Lod fetch works.
It was using scaled coordinates, so textureLodOffset could have been
replaced by textureOffset and the test would pass. Now the test will
fail if drivers attempt to fake it that way.
|
|
|
|
|
|
+ a comment about offsets
|
|
|
|
|
|
|
|
|
|
+ some bug fixes
|
|
|
|
|
|
|
|
|
|
|
|
This is an old test from before shader_runner could express multi-shader
cases, and a little broken.
Replace it with shader_tests which exercise the linker.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
These date back to a time before shader_runner was capable of testing
this case. Now redundant.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
|
|
glLinkProgram (re)sets all uniform block bindings to zero. If we want
to actually use multiple uniform blocks, we need to call
glUniformBlockBinding to specify which binding point goes with which
uniform block.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
|
|
The built-in-constants tests have been crashing for me due to them not
passing the full path as do other tests.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Spotted by Meng-Lin Wu.
Reviewed-by: Matthew McClure <mcclurem@vmware.com>
|
|
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
|
|
Since the test shaders require GLSL 1.30
|
|
Instead of symlinking oglconform into the bin/ dir, edit piglit.conf and
set the path key under the oglconform to the root of the oglconform dir.
v2: - change config key 'bindir' to 'path' (chadv)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|