Commit 6b6f38c5 authored by Brian Paul's avatar Brian Paul

llvmpipe: remove VS/FS cap queries

parent b375b917
......@@ -160,35 +160,6 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 0;
case PIPE_CAP_PRIMITIVE_RESTART:
return 1;
case PIPE_CAP_MAX_VS_INSTRUCTIONS:
case PIPE_CAP_MAX_FS_INSTRUCTIONS:
case PIPE_CAP_MAX_VS_ALU_INSTRUCTIONS:
case PIPE_CAP_MAX_FS_ALU_INSTRUCTIONS:
case PIPE_CAP_MAX_VS_TEX_INSTRUCTIONS:
case PIPE_CAP_MAX_FS_TEX_INSTRUCTIONS:
case PIPE_CAP_MAX_VS_TEX_INDIRECTIONS:
case PIPE_CAP_MAX_FS_TEX_INDIRECTIONS:
/* There is no limit in number of instructions beyond available memory */
return 32768;
case PIPE_CAP_MAX_VS_CONTROL_FLOW_DEPTH:
case PIPE_CAP_MAX_FS_CONTROL_FLOW_DEPTH:
return LP_MAX_TGSI_NESTING;
case PIPE_CAP_MAX_VS_INPUTS:
case PIPE_CAP_MAX_FS_INPUTS:
return PIPE_MAX_ATTRIBS;
case PIPE_CAP_MAX_FS_CONSTS:
case PIPE_CAP_MAX_VS_CONSTS:
/* There is no limit in number of constants beyond available memory */
return 32768;
case PIPE_CAP_MAX_VS_TEMPS:
case PIPE_CAP_MAX_FS_TEMPS:
return LP_MAX_TGSI_TEMPS;
case PIPE_CAP_MAX_VS_ADDRS:
case PIPE_CAP_MAX_FS_ADDRS:
return LP_MAX_TGSI_ADDRS;
case PIPE_CAP_MAX_VS_PREDS:
case PIPE_CAP_MAX_FS_PREDS:
return LP_MAX_TGSI_PREDS;
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 1;
case PIPE_CAP_DEPTH_CLAMP:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment