[Bug 40879] New: Hard coded values at wined3d_private
https://bugs.winehq.org/show_bug.cgi?id=40879 Bug ID: 40879 Summary: Hard coded values at wined3d_private Product: Wine Version: 1.9.13 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: super_man(a)post.com Distribution: --- I noticed this while looking at wine source code. http://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee3... 426 /* Shader backends */ 427 428 /* TODO: Make this dynamic, based on shader limits ? */ 429 #define MAX_ATTRIBS 16 430 #define MAX_REG_ADDR 1 431 #define MAX_REG_TEMP 32 432 #define MAX_REG_TEXCRD 8 433 #define MAX_REG_INPUT 32 434 #define MAX_REG_OUTPUT 32 435 #define MAX_CONST_I 16 436 #define MAX_CONST_B 16 437 #define WINED3D_MAX_CBS 15 438 439 /* FIXME: This needs to go up to 2048 for 440 * Shader model 3 according to msdn (and for software shaders) */ 441 #define MAX_LABELS 16 Is this hard to make dynamic? What actually is up to 2048 and isnt? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org