gallium: add threads per block TGSI property
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 28 Mar 2016 00:40:03 +0000 (02:40 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 1 Apr 2016 23:50:59 +0000 (01:50 +0200)
commit01f993a21f859d372d68c2818d845ebf47d70492
tree3795823ec0ec24b7a044380be9d67982a9786cb0
parentea8f4a6b13b94eb060bff4ccc6c13efc01d2b682
gallium: add threads per block TGSI property

The value 0 for unknown has been chosen to so that
drivers using tgsi_scan_shader do not need to detect
missing properties if they zero-initialize the struct.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/gallium/docs/source/tgsi.rst
src/gallium/include/pipe/p_shader_tokens.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp