[Mesa-dev] [PATCH 13/46] mesa: require VS if TCS or TES is present in pipeline

Jordan Justen jordan.l.justen at intel.com
Tue Jun 16 16:46:25 PDT 2015


I guess you wanted to lower case the initial word of all Chris's patch
subjects? :)

This patch was in a range of 11 patches that I added my r-b for:
http://lists.freedesktop.org/archives/mesa-dev/2014-September/068742.html

It seems Chris didn't get a chance to add my r-b to these patches,
including the recently already committed 358b6bb.

-Jordan

On 2015-06-16 16:01:09, Marek Olšák wrote:
> From: Chris Forbes <chrisf at ijw.co.nz>
> 
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
> ---
>  src/mesa/main/pipelineobj.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c
> index 0b5fa29..7d4127e 100644
> --- a/src/mesa/main/pipelineobj.c
> +++ b/src/mesa/main/pipelineobj.c
> @@ -788,7 +788,9 @@ _mesa_validate_program_pipeline(struct gl_context* ctx,
>      *           executable vertex shader."
>      */
>     if (!pipe->CurrentProgram[MESA_SHADER_VERTEX]
> -       && pipe->CurrentProgram[MESA_SHADER_GEOMETRY]) {
> +       && (pipe->CurrentProgram[MESA_SHADER_GEOMETRY] ||
> +           pipe->CurrentProgram[MESA_SHADER_TESS_CTRL] ||
> +           pipe->CurrentProgram[MESA_SHADER_TESS_EVAL])) {
>        pipe->InfoLog = ralloc_strdup(pipe, "Program lacks a vertex shader");
>        goto err;
>     }
> -- 
> 2.1.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list