diff options
author | Brian Paul <[email protected]> | 2014-01-31 17:23:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-02-03 12:40:13 -0700 |
commit | 4686f610b18a04bc6213ccadf7be1176bbda3e34 (patch) | |
tree | f3465d5134ec8c0d4f029f87d894f3ce2d6dff99 /src/gallium/drivers/svga/svga_context.h | |
parent | 9bace99d77642f8fbd46b1f0be025ad758f83f5e (diff) |
svga: refactor some shader code
Put common code in new svga_shader.c file. Considate separate vertex/
fragment shader ID generation.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index f75fac5a1cc..71d4014170d 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -347,8 +347,7 @@ struct svga_context } swtnl; /* Bitmask of used shader IDs */ - struct util_bitmask *fs_bm; - struct util_bitmask *vs_bm; + struct util_bitmask *shader_id_bm; struct { unsigned dirty[SVGA_STATE_MAX]; |