SHARE
TWEET

Untitled

a guest Aug 21st, 2015 535 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
  2. index 473a2e9..e454ed0 100644
  3. --- a/src/gallium/drivers/radeonsi/si_pipe.c
  4. +++ b/src/gallium/drivers/radeonsi/si_pipe.c
  5. @@ -295,7 +295,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
  6.  
  7.         case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
  8.         case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
  9. -               return 4;
  10. +               return 256;
  11.  
  12.         case PIPE_CAP_GLSL_FEATURE_LEVEL:
  13.                 return HAVE_LLVM >= 0x0307 ? 410 : 330;
RAW Paste Data
Top