OSDN Git Service

nvc0/ir: make sure that thread count immediate for BAR fit
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 7 Mar 2016 17:26:43 +0000 (18:26 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 7 Mar 2016 17:39:41 +0000 (18:39 +0100)
commit5777e87bed9de5db9ab08a1388265978507bc88e
tree77c8d7f8ca29f0fa69c5704306d807efe4d77543
parent3af78b426ee05f9515439c20fc416202bff4539c
nvc0/ir: make sure that thread count immediate for BAR fit

The limit of the thread count immediate value is 12 bits.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp