mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
freedreno/a6xx: fix hangs with large shaders
We were overflowing instrlen (which is # of groups of 16 instructions) in a couple dEQP tests, causing gpu hangs: dEQP-GLES31.functional.ubo.random.all_per_block_buffers.13 dEQP-GLES31.functional.ubo.random.all_per_block_buffers.20 Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
6dabcb5bcf
commit
04c2520d91
1 changed files with 2 additions and 2 deletions
|
|
@ -239,9 +239,9 @@ struct stage {
|
|||
const struct ir3_shader_variant *v;
|
||||
const struct ir3_info *i;
|
||||
/* const sizes are in units of vec4, aligned to 4*vec4 */
|
||||
uint8_t constlen;
|
||||
uint16_t constlen;
|
||||
/* instr sizes are in units of 16 instructions */
|
||||
uint8_t instrlen;
|
||||
uint16_t instrlen;
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue