aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/driver_ddebug/dd_context.c
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2018-10-05 15:08:51 +0200
committerGert Wollny <[email protected]>2018-10-06 13:12:48 +0200
commit8f77156c268356baf9df8490c52cc5d8475b9db8 (patch)
treec051020bd85fdeec438d6b3d937c15740517badc /src/gallium/auxiliary/driver_ddebug/dd_context.c
parent9d81cd8e7c0cb44e09cf650da4834a1dc647a4d2 (diff)
gallivm: Make it possible to disable some optimization shortcuts in release builds
For testing it is of interest that all tests of dEQP pass, e.g. to test virglrenderer on a host only providing software rendering like in a CI. Hence make it possible to disable certain optimizations that make tests fail. While we are there also add some documentation to the flags to make it clear that this is opt-out. Setting the environment variable "GALLIVM_PERF=no_filter_hacks" can be used to make the following tests pass in release mode: dEQP-GLES2.functional.texture.mipmap.2d.affine.*_linear_* dEQP-GLES2.functional.texture.mipmap.cube.generate.* dEQP-GLES2.functional.texture.vertex.2d.filtering.*_mipmap_linear_* dEQP-GLES2.functional.texture.vertex.2d.wrap.* Related: https://bugs.freedesktop.org/show_bug.cgi?id=94957 v2: rename optimization disabling flag to 'safemath' and also move the nopt flag to the perf flags. v3: rename flag "safemath" to "no_filter_hacks" since safemath is usually associated with floating point operations (Roland) Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/driver_ddebug/dd_context.c')
0 files changed, 0 insertions, 0 deletions