mesa: Fold long lines introduced by the previous patch.
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -218,7 +218,8 @@ static void st_bind_ubos(struct st_context *st,
|
||||
|
||||
static void bind_vs_ubos(struct st_context *st)
|
||||
{
|
||||
struct gl_shader_program *prog = st->ctx->Shader.CurrentProgram[MESA_SHADER_VERTEX];
|
||||
struct gl_shader_program *prog =
|
||||
st->ctx->Shader.CurrentProgram[MESA_SHADER_VERTEX];
|
||||
|
||||
if (!prog)
|
||||
return;
|
||||
@@ -237,7 +238,8 @@ const struct st_tracked_state st_bind_vs_ubos = {
|
||||
|
||||
static void bind_fs_ubos(struct st_context *st)
|
||||
{
|
||||
struct gl_shader_program *prog = st->ctx->Shader.CurrentProgram[MESA_SHADER_FRAGMENT];
|
||||
struct gl_shader_program *prog =
|
||||
st->ctx->Shader.CurrentProgram[MESA_SHADER_FRAGMENT];
|
||||
|
||||
if (!prog)
|
||||
return;
|
||||
@@ -256,7 +258,8 @@ const struct st_tracked_state st_bind_fs_ubos = {
|
||||
|
||||
static void bind_gs_ubos(struct st_context *st)
|
||||
{
|
||||
struct gl_shader_program *prog = st->ctx->Shader.CurrentProgram[MESA_SHADER_GEOMETRY];
|
||||
struct gl_shader_program *prog =
|
||||
st->ctx->Shader.CurrentProgram[MESA_SHADER_GEOMETRY];
|
||||
|
||||
if (!prog)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user