|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
bool is_da = glsl_sampler_type_is_array(type) || |
|
|
bool is_da = glsl_sampler_type_is_array(type) || |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE || |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE || |
|
|
|
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_3D || |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS || |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS || |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS_MS; |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS_MS; |
|
|
LLVMValueRef da = is_da ? ctx->ac.i1true : ctx->ac.i1false; |
|
|
LLVMValueRef da = is_da ? ctx->ac.i1true : ctx->ac.i1false; |
|
|
|
|
|
|
|
|
params, 6, 0); |
|
|
params, 6, 0); |
|
|
} else { |
|
|
} else { |
|
|
bool is_da = glsl_sampler_type_is_array(type) || |
|
|
bool is_da = glsl_sampler_type_is_array(type) || |
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE; |
|
|
|
|
|
|
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE || |
|
|
|
|
|
glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_3D; |
|
|
LLVMValueRef da = is_da ? ctx->ac.i1true : ctx->ac.i1false; |
|
|
LLVMValueRef da = is_da ? ctx->ac.i1true : ctx->ac.i1false; |
|
|
LLVMValueRef slc = ctx->ac.i1false; |
|
|
LLVMValueRef slc = ctx->ac.i1false; |
|
|
|
|
|
|