projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94669cb
)
nir/tex: Use the correct return size for query_levels and lod
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 10 Apr 2015 04:04:21 +0000
(21:04 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 23 Apr 2015 01:10:40 +0000
(18:10 -0700)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir.h
b/src/glsl/nir/nir.h
index
c07a955
..
41e2120
100644
(file)
--- a/
src/glsl/nir/nir.h
+++ b/
src/glsl/nir/nir.h
@@
-986,9
+986,12
@@
nir_tex_instr_dest_size(nir_tex_instr *instr)
return ret;
}
- case nir_texop_
query_levels
:
+ case nir_texop_
lod
:
return 2;
+ case nir_texop_query_levels:
+ return 1;
+
default:
if (instr->is_shadow && instr->is_new_style_shadow)
return 1;