projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nv50/ir/nir: add nir type helper functions
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
codegen
/
nv50_ir_emit_gm107.cpp
diff --git
a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
index 241061ab8375750adb7f84ccf9eccdd086a8250d..6eefe8f00252884b4ef61ec0540c8ae1cbc15fc4 100644
(file)
--- a/
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
+++ b/
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
@@
-2738,6
+2738,7
@@
getTEXSMask(uint8_t mask)
case 0xf: return 0x4;
default:
assert(!"invalid mask");
+ return 0;
}
}
@@
-2862,6
+2863,7
@@
void
CodeEmitterGM107::emitTEXS()
{
const TexInstruction *insn = this->insn->asTex();
+ assert(!insn->tex.derivAll);
switch (insn->op) {
case OP_TEX: