mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
st/mesa: decrease the size of remaining st_translate_program array params
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
88d46ac184
commit
7ca8b86cb9
7 changed files with 11 additions and 11 deletions
|
|
@ -428,7 +428,7 @@ st_translate_atifs_program(
|
|||
const ubyte inputMapping[],
|
||||
const ubyte inputSemanticName[],
|
||||
const ubyte inputSemanticIndex[],
|
||||
const GLuint interpMode[],
|
||||
const ubyte interpMode[],
|
||||
GLuint numOutputs,
|
||||
const ubyte outputMapping[],
|
||||
const ubyte outputSemanticName[],
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ st_translate_atifs_program(
|
|||
const ubyte inputMapping[],
|
||||
const ubyte inputSemanticName[],
|
||||
const ubyte inputSemanticIndex[],
|
||||
const GLuint interpMode[],
|
||||
const ubyte interpMode[],
|
||||
GLuint numOutputs,
|
||||
const ubyte outputMapping[],
|
||||
const ubyte outputSemanticName[],
|
||||
|
|
|
|||
|
|
@ -6238,10 +6238,10 @@ st_translate_program(
|
|||
const struct gl_program *proginfo,
|
||||
GLuint numInputs,
|
||||
const ubyte inputMapping[],
|
||||
const GLuint inputSlotToAttr[],
|
||||
const ubyte inputSlotToAttr[],
|
||||
const ubyte inputSemanticName[],
|
||||
const ubyte inputSemanticIndex[],
|
||||
const GLuint interpMode[],
|
||||
const ubyte interpMode[],
|
||||
GLuint numOutputs,
|
||||
const ubyte outputMapping[],
|
||||
const ubyte outputSemanticName[],
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@ enum pipe_error st_translate_program(
|
|||
const struct gl_program *proginfo,
|
||||
GLuint numInputs,
|
||||
const ubyte inputMapping[],
|
||||
const GLuint inputSlotToAttr[],
|
||||
const ubyte inputSlotToAttr[],
|
||||
const ubyte inputSemanticName[],
|
||||
const ubyte inputSemanticIndex[],
|
||||
const GLuint interpMode[],
|
||||
const ubyte interpMode[],
|
||||
GLuint numOutputs,
|
||||
const ubyte outputMapping[],
|
||||
const ubyte outputSemanticName[],
|
||||
|
|
|
|||
|
|
@ -802,7 +802,7 @@ st_translate_mesa_program(
|
|||
const ubyte inputMapping[],
|
||||
const ubyte inputSemanticName[],
|
||||
const ubyte inputSemanticIndex[],
|
||||
const GLuint interpMode[],
|
||||
const ubyte interpMode[],
|
||||
GLuint numOutputs,
|
||||
const ubyte outputMapping[],
|
||||
const ubyte outputSemanticName[],
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ st_translate_mesa_program(
|
|||
const ubyte inputMapping[],
|
||||
const ubyte inputSemanticName[],
|
||||
const ubyte inputSemanticIndex[],
|
||||
const GLuint interpMode[],
|
||||
const ubyte interpMode[],
|
||||
GLuint numOutputs,
|
||||
const ubyte outputMapping[],
|
||||
const ubyte outputSemanticName[],
|
||||
|
|
|
|||
|
|
@ -715,8 +715,8 @@ st_translate_fragment_program(struct st_context *st,
|
|||
{
|
||||
ubyte outputMapping[2 * FRAG_RESULT_MAX];
|
||||
ubyte inputMapping[VARYING_SLOT_MAX];
|
||||
GLuint inputSlotToAttr[VARYING_SLOT_MAX];
|
||||
GLuint interpMode[PIPE_MAX_SHADER_INPUTS]; /* XXX size? */
|
||||
ubyte inputSlotToAttr[VARYING_SLOT_MAX];
|
||||
ubyte interpMode[PIPE_MAX_SHADER_INPUTS]; /* XXX size? */
|
||||
GLuint attr;
|
||||
GLbitfield64 inputsRead;
|
||||
struct ureg_program *ureg;
|
||||
|
|
@ -1344,7 +1344,7 @@ st_translate_program_common(struct st_context *st,
|
|||
unsigned tgsi_processor,
|
||||
struct pipe_shader_state *out_state)
|
||||
{
|
||||
GLuint inputSlotToAttr[VARYING_SLOT_TESS_MAX];
|
||||
ubyte inputSlotToAttr[VARYING_SLOT_TESS_MAX];
|
||||
ubyte inputMapping[VARYING_SLOT_TESS_MAX];
|
||||
ubyte outputMapping[VARYING_SLOT_TESS_MAX];
|
||||
GLuint attr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue