mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
r600/sb: Fix constant logical operand in assert.
Fixes: da977ad907 ("r600/sb: start adding GDS support")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
This commit is contained in:
parent
5d517a599b
commit
64a9ed8848
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ int bc_builder::build_fetch_gds(fetch_node *n) {
|
|||
const fetch_op_info *fop = bc.op_ptr;
|
||||
unsigned gds_op = (ctx.fetch_opcode(bc.op) >> 8) & 0x3f;
|
||||
unsigned mem_op = 4;
|
||||
assert(fop->flags && FF_GDS);
|
||||
assert(fop->flags & FF_GDS);
|
||||
|
||||
if (bc.op == FETCH_OP_TF_WRITE) {
|
||||
mem_op = 5;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue