mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
intel: remove intel_span_supports_format()
It always returned True.
(cherry picked from commit 1839a7fc9f)
This commit is contained in:
parent
eca54b1eb4
commit
05adf4d6e4
3 changed files with 0 additions and 21 deletions
|
|
@ -833,14 +833,6 @@ intel_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb)
|
|||
_mesa_get_format_name(intel_rb_format(irb)));
|
||||
fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT;
|
||||
}
|
||||
|
||||
#ifdef I915
|
||||
if (!intel_span_supports_format(intel_rb_format(irb))) {
|
||||
DBG("Unsupported swrast texture/renderbuffer format attached: %s\n",
|
||||
_mesa_get_format_name(intel_rb_format(irb)));
|
||||
fb->_Status = GL_FRAMEBUFFER_UNSUPPORTED_EXT;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -332,15 +332,3 @@ intel_unmap_vertex_shader_textures(struct gl_context *ctx)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
intel_span_supports_format(gl_format format)
|
||||
{
|
||||
/* Rendering to/from integer textures will be done using MapRenderbuffer,
|
||||
* rather than coding up new paths through GetRow/PutRow(), so claim support
|
||||
* for those formats in here for now.
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ extern void intelSpanRenderStart(struct gl_context * ctx);
|
|||
|
||||
void intel_map_vertex_shader_textures(struct gl_context *ctx);
|
||||
void intel_unmap_vertex_shader_textures(struct gl_context *ctx);
|
||||
bool intel_span_supports_format(gl_format format);
|
||||
intptr_t intel_offset_S8(uint32_t stride, uint32_t x, uint32_t y);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue