softpipe: fix 32-bit bitfield extract
authorDave Airlie <airlied@redhat.com>
Thu, 21 Mar 2019 04:13:48 +0000 (14:13 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Mar 2019 23:30:21 +0000 (09:30 +1000)
commit7b7cb1bc35cf9ec5d0acb9dd6ea8d7da95c962cb
tree5375908e2539d6dc994cbc2645d873ec96304386
parenta1bd9dd5bcd6e4aa9a5cf33d9901046f68d3d580
softpipe: fix 32-bit bitfield extract

These didn't deal with the width == 32 case that TGSI is defined with.

Fixes piglit tests if ARB_gpu_shader5 is enabled.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c