projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea8727
)
i965: Compile fp64 funcs only if we do not have 64-bit hardware support
author
Matt Turner
<mattst88@gmail.com>
Thu, 10 Jan 2019 23:14:35 +0000
(15:14 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 10 Jan 2019 23:22:17 +0000
(15:22 -0800)
Brown bag fix...
src/mesa/drivers/dri/i965/brw_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri/i965/brw_program.c
index 168a2bd5f506a9ac4c914d99a2e09729eca82e31..78dc4709e05283d167c921e6bfedb7fa530fb622 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_program.c
+++ b/
src/mesa/drivers/dri/i965/brw_program.c
@@
-155,7
+155,7
@@
brw_create_nir(struct brw_context *brw,
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
- if (nir->info.uses_64bit) {
+ if (
!devinfo->has_64bit_types &&
nir->info.uses_64bit) {
nir_shader *fp64 = compile_fp64_funcs(ctx, options, ralloc_parent(nir), stage);
nir_validate_shader(fp64, "fp64");