mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)
This commit is contained in:
parent
dca71c40ea
commit
548eddc964
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ i915_get_param(struct pipe_context *pipe, int param)
|
||||||
case PIPE_CAP_OCCLUSION_QUERY:
|
case PIPE_CAP_OCCLUSION_QUERY:
|
||||||
return 0;
|
return 0;
|
||||||
case PIPE_CAP_TEXTURE_SHADOW_MAP:
|
case PIPE_CAP_TEXTURE_SHADOW_MAP:
|
||||||
return 0;
|
return 1;
|
||||||
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
|
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
|
||||||
return 11; /* max 1024x1024 */
|
return 11; /* max 1024x1024 */
|
||||||
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
|
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue