From 1a8297139396ec2a6415ef803a3901e1ecef485c Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 24 Feb 2011 17:26:44 +0100 Subject: nvc0: set local memory usage info in shader header Before this, l[] access was a no-op. --- src/gallium/drivers/nvc0/nvc0_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nvc0/nvc0_context.h') 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; -- cgit v1.2.3