Searched refs:grad_type (Results 1 - 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_lower_texture_gradients.cpp | 95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type; local 105 new(mem_ctx) ir_variable(grad_type, "size", ir_var_temporary); 112 swizzle_for_size(txs, grad_type->vector_elements))); 120 new(mem_ctx) ir_variable(grad_type, "dPdx", ir_var_temporary); 124 new(mem_ctx) ir_variable(grad_type, "dPdy", ir_var_temporary);
|
/external/mesa3d/src/glsl/builtins/tools/ |
H A D | texture_builtins.py | 79 grad_type = vec_type("", sampler_dim) 80 print "\n (declare (in) " + grad_type + " dPdx)", 81 print "\n (declare (in) " + grad_type + " dPdy)",
|
Completed in 152 milliseconds