diff options
author | Christoph Bumiller <[email protected]> | 2011-02-24 17:26:44 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-02-24 17:35:36 +0100 |
commit | 1a8297139396ec2a6415ef803a3901e1ecef485c (patch) | |
tree | 2bb3975c3ce143b4c9bba0218a49184d66cd27e1 /src/gallium/drivers/nvc0/nvc0_context.h | |
parent | b5f04b20089c219f760fb6a369041bd782708247 (diff) |
nvc0: set local memory usage info in shader header
Before this, l[] access was a no-op.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h index 3722f358d89..1ce5554f7b7 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.h +++ b/src/gallium/drivers/nvc0/nvc0_context.h @@ -81,6 +81,7 @@ struct nvc0_context { uint8_t num_vtxelts; uint8_t num_textures[5]; uint8_t num_samplers[5]; + uint8_t tls_required; /* bitmask of shader types using l[] */ uint16_t scissor; uint32_t uniform_buffer_bound[5]; } state; |