projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d9605
)
nouveau: request ufind_msb64 lowering in the frontend.
author
Dave Airlie
<airlied@redhat.com>
Tue, 19 Nov 2019 23:23:46 +0000
(09:23 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 21 Nov 2019 18:37:41 +0000
(
04:37
+1000)
This passes the piglit CL builtin-ulong-clz-1.0.generated.cl
test.
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index cb3c5548427a6818538af1ad967e8f04f8e2fbb9..c7779c26548af9dce6644751b46b419455c830c1 100644
(file)
--- a/
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@
-972,7
+972,7
@@
static const nir_shader_compiler_options nir_options = {
.use_interpolated_input_intrinsics = true,
.lower_mul_2x32_64 = true, // TODO
.max_unroll_iterations = 32,
- .lower_int64_options = nir_lower_divmod64, // TODO
+ .lower_int64_options = nir_lower_
ufind_msb64|nir_lower_
divmod64, // TODO
.lower_doubles_options = nir_lower_dmod, // TODO
.lower_to_scalar = true,
};