mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
r600g/llvm: Use stack_size provided from llvm.
This commit is contained in:
parent
4ac0d85ca6
commit
8c8c4e3977
1 changed files with 1 additions and 0 deletions
|
|
@ -592,6 +592,7 @@ static void r600_bytecode_from_byte_stream(struct r600_shader_ctx *ctx,
|
|||
unsigned char * bytes, unsigned num_bytes)
|
||||
{
|
||||
unsigned bytes_read = 0;
|
||||
ctx->bc->nstack = bytes[bytes_read++];
|
||||
unsigned i, byte;
|
||||
while (bytes_read < num_bytes) {
|
||||
char inst_type = bytes[bytes_read++];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue