summaryrefslogtreecommitdiffstats
path: root/src/util/hash_table.h
diff options
context:
space:
mode:
authorDanylo Piliaiev <[email protected]>2019-11-22 18:05:14 +0200
committerDanylo Piliaiev <[email protected]>2019-11-25 12:22:37 +0200
commit29081c671f65b8ab0a1ec50dda47f58f2faf2468 (patch)
tree351680fb2f28c8a3c998cedc639cc34fa6782ea2 /src/util/hash_table.h
parentd6db858771ab72f607e43cd2cacf73b2f62fad30 (diff)
drirc: Add glsl_zero_init workaround for GpuTest
GiMark benchmark from GpuTest has such code in VS: out vec4 lightDir0; out vec4 lightDir1; ... lightDir0.xyz = lp0 - vVertex.xyz; lightDir1.xyz = lp1 - vVertex.xyz; In FS: float distSqr = dot(lightDir0, lightDir0); So due to the usage of uninitialized .w channel in the dot product, distSqr may become undefined which results in many black dots in the test on Iris. In https://www.geeks3d.com/forums/index.php/topic,6242.0.html developer stated that this benchmark most likely won't be updated. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1919 Signed-off-by: Danylo Piliaiev <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/hash_table.h')
0 files changed, 0 insertions, 0 deletions