diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_bc_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_bc_parser.cpp b/src/gallium/drivers/r600/sb/sb_bc_parser.cpp index a78ca4b91d8..f8c39ce246b 100644 --- a/src/gallium/drivers/r600/sb/sb_bc_parser.cpp +++ b/src/gallium/drivers/r600/sb/sb_bc_parser.cpp @@ -109,7 +109,7 @@ int bc_parser::prepare() { int bc_parser::parse_decls() { if (!pshader) { - sh->add_gpr_array(0, pshader->bc.ngpr, 0x0F); + sh->add_gpr_array(0, bc->ngpr, 0x0F); return 0; } |